SELECT * FROM SC_products p WHERE (( (p.productID IN (29007,29009,29012,29011,29008,29010)) OR (categoryID IN (5898,2209,2213,4265,5937,5970,6225,6226,6227,2192)) ) AND (Price>0 AND enabled=1 AND hide_from_special_and_hit=0)) AND special=1 ORDER BY RAND() LIMIT 3