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 (
12684, 12714, 13260, 13267, 12349, 12364,
12259, 12504, 12524, 12379, 6843, 6840,
6841, 6846, 13274, 13286, 13280, 13292,
6962, 6966, 6967, 6965, 6963, 6952,
6953, 3484, 3487, 3485, 3486, 6969,
3434, 6947, 3424, 3911, 3422, 3910,
3421, 3909, 3420, 3423, 3912, 3430,
3429, 3437, 3436, 3438, 6959, 3425,
6958, 6960, 6968, 6961, 6964, 6957,
6956, 6954, 6955, 6948, 3914, 3913,
6950, 6949, 3477, 3452, 3478, 3479,
3453, 3491, 3488, 3497, 3495, 3489,
3492, 3496, 3490, 3494, 6951, 3502,
3503, 3493, 3498, 3428, 3433, 3432,
12594, 12609, 12424, 12554, 12536,
12546, 13127, 12464, 12624, 12654,
13148, 13153
)
AND cscart_product_review_prepared_data.storefront_id = 0