1317 - Query execution was interrupted

select distinct p.products_id, p.products_price, p.products_tax_class_id, p.products_image, p.products_vpe, p.products_vpe_status, p.products_vpe_value, pd.products_name from products p, products_description pd, products_to_categories p2c, categories c where p.products_status = '1' and c.categories_status = '1' and p.products_ordered > 0 and p.products_id = pd.products_id and pd.language_id = '2' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and '1684' in (c.categories_id, c.parent_id) order by p.products_ordered desc limit 10

[XT SQL Error]