Sir look at the query execution time more than 10 second when you have a lot of categories and attributes
10.220079898834 SELECT DISTINCT a.*
FROM (oc_zw_t_attribute as a)
LEFT OUTER JOIN oc_zw_t_item_attribute as i ON (a.pk_i_id = i.fk_i_attribute_id AND (i.fk_i_item_id = 66384491 OR a.s_type = "DIVIDER"))
WHERE a.b_enabled = 1
AND ((concat(concat(",", a.s_category_id), ",") like "%,888,%") OR (concat(concat(",", a.s_category_id), ",") like "%,916,%") OR a.s_category_id is null OR a.s_category_id = "")
ORDER BY a.i_order ASC, a.pk_i_id ASC
You are storing categories id in a fied value and doing a full table scan, this is an expensive query sir. You need a table for mapping category and attibutes.
Same for attributes and Car attributes pro.
Can you fix this ASAP, you can't do this kind of coding. Thanks