1317 - Query execution was interrupted

select distinct p.products_id, pd.products_name, p.products_image, p.products_tax_class_id, p.products_vpe, p.products_vpe_status, p.products_vpe_value, p.products_price from products p, products_to_categories p2c, categories c, products_description pd where p.products_status=1 and p.products_id = p2c.products_id and p.products_id = pd.products_id and p.products_id !='0' and c.categories_id = p2c.categories_id and c.categories_status=1 order by p.products_date_added desc limit 30

[XT SQL Error]