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 (
125, 126, 127, 128, 129, 130, 131, 132,
233, 234, 235, 236, 237, 238, 239, 286,
287, 288, 289, 290, 291, 292, 3922, 3923,
3924, 3925, 3926, 3927, 3928, 3976,
3977, 3978, 3979, 3980, 3981, 3982,
4028, 4029, 4030, 4031, 4032, 4033,
4034, 4035, 4036, 4037, 4038, 4039,
4040, 4041, 4117, 4118, 4119, 4120,
4121, 4122, 4123, 4171, 4172, 4173,
4174, 4175, 4176, 50, 51, 52, 53, 54,
55, 56, 97, 98, 99, 100, 101, 102, 103,
182, 183, 184, 185, 186, 187, 188, 189,
190, 191, 192, 193, 194, 195, 226, 227,
228, 229, 230
)
AND cscart_product_review_prepared_data.storefront_id = 0