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 (
338, 331, 6705, 3932, 3134, 3116, 3126,
6673, 6679, 6691, 3155, 3131, 310, 303,
3939, 317, 3132, 3143, 3130, 3129, 3121,
3128, 6681, 6695, 3098, 3115, 6690,
6700, 12, 13, 14, 15, 16, 17, 18, 65, 66,
67, 68, 69, 70, 71, 119, 120, 121, 122,
123, 124, 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
)
AND cscart_product_review_prepared_data.storefront_id = 0