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 (
191, 192, 193, 194, 195, 226, 227, 228,
229, 230, 231, 232, 264, 265, 266, 267,
268, 269, 270, 318, 319, 320, 321, 322,
323, 3961, 3962, 3963, 3964, 3965, 3966,
3967, 4006, 4007, 4008, 4009, 4010,
4011, 4012, 4066, 4067, 4068, 4069,
4070, 4071, 4072, 4073, 4074, 4075,
4076, 4077, 4078, 4079, 4110, 4111,
4112, 4113, 4114, 4115, 4116, 4149,
4150, 4151, 4152, 4153, 4154, 4155,
4202, 4203, 4204, 4205, 4206, 4207,
4208, 3109, 3123, 6671, 6676, 6684,
5, 6, 7, 8, 9, 10, 11, 57, 58, 59, 60, 61,
62, 63, 111, 112, 113
)
AND cscart_product_review_prepared_data.storefront_id = 0