SELECT
cscart_product_review_prepared_data.product_id AS product_id,
cscart_product_review_prepared_data.average_rating AS average_rating,
cscart_product_review_prepared_data.reviews_count AS reviews_count
FROM
cscart_product_review_prepared_data
WHERE
cscart_product_review_prepared_data.product_id IN (
2412, 2413, 2414, 2415, 2416, 2417, 2418,
2419, 2420, 2514, 2515, 2516, 2517,
2518, 2604, 2605, 2606, 2607, 3840,
3841, 3842, 3843, 5867, 5868, 5869,
5870, 5871, 5935, 5936, 5937, 5938,
5939, 6012, 6013, 6014, 6015, 6016,
6017, 6018, 6019, 6020, 6196, 6197,
6198, 6199, 6200, 6732, 2836, 2837,
2838, 2839, 2840, 6422, 6423, 6424,
6425, 2937, 2938, 2939, 2940, 2941,
6522, 6523, 6524, 6525, 1516, 2189,
2190, 2191, 2192, 2193, 2194, 2195,
2196, 2197, 2720, 2721, 2722, 2723,
2769, 2770, 2771, 2772, 2773, 2774,
2775, 2776, 2777, 2845, 2846, 2847,
2848, 2849, 2850, 2851, 2852
)
AND cscart_product_review_prepared_data.storefront_id = 0