SELECT `e`.*, `price_index`.`price`, `price_index`.`tax_class_id`, `price_index`.`final_price`, IF(price_index.tier_price IS NOT NULL, LEAST(price_index.min_price, price_index.tier_price), price_index.min_price) AS `minimal_price`, `price_index`.`min_price`, `price_index`.`max_price`, `price_index`.`tier_price`, IFNULL(review_summary.reviews_count, 0) AS `reviews_count`, IFNULL(review_summary.rating_summary, 0) AS `rating_summary`, `stock_status_index`.`stock_status` AS `is_salable` FROM `catalog_product_entity` AS `e`
INNER JOIN `catalog_product_index_price` AS `price_index` ON price_index.entity_id = e.entity_id AND price_index.customer_group_id = 0 AND price_index.website_id = '1'
LEFT JOIN `review_entity_summary` AS `review_summary` ON e.entity_id = review_summary.entity_pk_value AND review_summary.store_id = 1 AND review_summary.entity_type = (SELECT `review_entity`.`entity_id` FROM `review_entity` WHERE (entity_code = 'product'))
INNER JOIN `cataloginventory_stock_status` AS `stock_status_index` ON e.entity_id = stock_status_index.product_id WHERE (stock_status_index.stock_status = 1) AND (e.entity_id IN (8073, 5973, 5965, 5969, 5977, 5993, 5981, 5989, 7825, 5961, 5985, 3788, 7789, 7640, 3264, 4969, 4920, 4906, 4976, 4948, 4913, 4927, 4896, 4941, 4934, 4962, 4955, 3254, 3396, 3370, 3362, 5166, 3309, 3221, 4862, 4841, 4855, 4834, 4848, 4869, 4824, 3211, 3239, 4890, 4883, 4990, 4983, 4876, 3232, 3247, 5749, 7514, 8139, 8113, 8132, 7720, 7719, 7718, 5493, 3271, 3285, 7864, 6162, 6238, 6144, 6153, 6099, 6211, 6359, 7505, 7504, 7788, 7775, 7774, 3729, 4997, 8128, 3120, 3008, 3023, 3015, 2994, 2987, 3116, 3112, 3100, 3090, 3080, 7844, 7854, 7859, 7849, 7820, 7759, 7795, 7747, 7763, 7755, 7739, 7729)) ORDER BY FIELD(e.entity_id,8073,5973,5965,5969,5977,5993,5981,5989,7825,5961,5985,3788,7789,7640,3264,4969,4920,4906,4976,4948,4913,4927,4896,4941,4934,4962,4955,3254,3396,3370,3362,5166,3309,3221,4862,4841,4855,4834,4848,4869,4824,3211,3239,4890,4883,4990,4983,4876,3232,3247,5749,7514,8139,8113,8132,7720,7719,7718,5493,3271,3285,7864,6162,6238,6144,6153,6099,6211,6359,7505,7504,7788,7775,7774,3729,4997,8128,3120,3008,3023,3015,2994,2987,3116,3112,3100,3090,3080,7844,7854,7859,7849,7820,7759,7795,7747,7763,7755,7739,7729)