SQL Query Error for Perform Get Array Query. ERROR: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 'AND p.active_flg = 1 ORDER BY product_order ASC' at line 1

SELECT * FROM MCA_product p INNER JOIN MCA_product_category pc ON (p.product_id = pc.product_id) WHERE 1 = 1 AND pc.category_id = AND p.active_flg = 1 ORDER BY product_order ASC