MySQL Error Occured
1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '184) AND (filter_sex LIKE '%Ανδρικό' OR filter_sex2 LIKE '%Ανδρικ' at line 1

QUERY = SELECT CubeCart_inventory.productId FROM CubeCart_inventory INNER JOIN CubeCart_cats_idx ON CubeCart_inventory.productId=CubeCart_cats_idx.productId WHERE CubeCart_cats_idx.cat_id IN (285,286,287,288) AND active='1' AND (filter_petres LIKE 'peridot' OR filter_petres2 LIKE 'peridot' ) AND IN (,184) AND (filter_sex LIKE '%Ανδρικό' OR filter_sex2 LIKE '%Ανδρικό')