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 (
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, 3863, 3148, 6718,
6722, 3144, 3147, 3096, 339, 3104, 3107,
6682, 6678, 104, 105, 106, 107, 108,
109, 110, 4013, 4014, 4015, 4016, 4017,
4018, 4019, 3105, 6677, 6686, 64, 118
)
AND cscart_product_review_prepared_data.storefront_id = 0