1064 - 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 'and p.products_status = '1'
order by rand(575145729) limit 6' at line 6
select distinct p.products_id, p.products_image, p.products_model, pd.products_name, p.products_tax_class_id, products_price, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, specials_new_products_price
from (((products_xsell xp) left join products p on xp.xsell_id = p.products_id)
left join products_description pd on p.products_id = pd.products_id and pd.language_id = '4')
left join specials s on p.products_id = s.products_id
and p.products_status = '1'
order by rand(575145729) limit 6