string(383) "SELECT DISTINCT i.product_id AS idFROM lr_product_items AS iINNER JOINlr_products AS p ON i.product_id=p.idINNER JOIN lr_product_types AS t ON t.id=p.product_type_idWHERE(t.single_seller=1 AND published=1ORt.single_seller=0) and product_type_id=8 and i.product_id in(99545) order by p.id desc Limit 0,40"