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 (
3489, 3492, 3496, 3490, 3494, 6951, 3502,
3503, 3493, 3498, 3428, 3433, 3432,
22, 23, 24, 3933, 3934, 3935, 1334, 1335,
1336, 1337, 1338, 1339, 1340, 1341,
1342, 1343, 1344, 1355, 1356, 1357,
1358, 1359, 1360, 1361, 1362, 1363,
1364, 3688, 3689, 3690, 3691, 3692,
3693, 3694, 3695, 3696, 3697, 3709,
3710, 3711, 3712, 3713, 3714, 3715,
3716, 3717, 3718, 3708, 3152, 25, 1365,
3138, 3149, 6719, 3146, 3150, 1345,
1346, 1347, 1348, 1349, 1350, 1351,
1352, 1353, 1354, 3698, 3699, 3700,
3701, 3702, 3703, 3704, 3705, 3706,
3707, 6723, 6717, 6720, 3151, 3864,
3145, 6721
)
AND cscart_product_review_prepared_data.storefront_id = 0