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 (
3104, 3107, 6682, 6678, 104, 105, 106,
107, 108, 109, 110, 4013, 4014, 4015,
4016, 4017, 4018, 4019, 3105, 6677,
6686, 64, 118, 224, 225, 285, 3975, 4027,
4108, 4109, 4170, 4223, 203, 204, 205,
206, 207, 208, 209, 4087, 4088, 4089,
4090, 4091, 4092, 4093, 3122, 6675,
6696, 6703, 3118, 3111, 12223, 12224,
3124, 3112, 324, 6704, 6709, 4177, 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
)
AND cscart_product_review_prepared_data.storefront_id = 0