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 '=en OR shop_product_de.cat1_id = 18〈=en) AND shop_product_de.cat1_id = shop_c' at line 3

SELECT DISTINCT shop_product_de.* FROM shop_product_de, shop_category_de_parent WHERE ( ((shop_category_de_parent.parent_id = 18〈=en OR shop_product_de.cat1_id = 18〈=en) AND shop_product_de.cat1_id = shop_category_de_parent.cat_id) OR ((shop_category_de_parent.parent_id = 18〈=en OR shop_product_de.cat2_id = 18〈=en) AND shop_product_de.cat2_id = shop_category_de_parent.cat_id) OR ((shop_category_de_parent.parent_id = 18〈=en OR shop_product_de.cat3_id = 18〈=en) AND shop_product_de.cat3_id = shop_category_de_parent.cat_id) ) AND shop_product_de.display = 1 ORDER BY shop_product_de.position, shop_product_de.id DESC