MySQL Error Occured
1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1

QUERY = SELECT MAX(price) AS price_max, MIN(price) AS price_min FROM CubeCart_cats_idx INNER JOIN CubeCart_inventory ON CubeCart_cats_idx.productId = CubeCart_inventory.productId WHERE CubeCart_cats_idx.cat_id IN (285,286,287,288) AND active='1' AND (filter_xrwma = 'Χρυσό' ) AND (filter_petres = 'Ζιργκόν' OR filter_petres2 = 'Ζιργκόν' ) AND CubeCart_inventory.man IN (96,)