1317 - Query execution was interrupted

select count(distinct p.products_id) as total from products p, products_description pd, categories c, products_to_categories p2c where p.products_status = 1 and p.products_id = pd.products_id and pd.language_id = 7 and p.products_id = p2c.products_id AND p2c.products_id NOT IN (2993) and p2c.categories_id = c.categories_id and ((replace(pd.products_name, '\'', '') like '%autos%' or p.products_model = 'autos' or replace(pd.products_tags, '\'', '') like '%autos%') )

[TEP STOP]