SELECT DISTINCT p.product_id FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) WHERE p.status = '1' AND cp.path_id = '2657' ORDER BY p.sort_order ASC LIMIT 0,20
end