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 (
117, 210, 211, 212, 213, 214, 215, 216,
217, 218, 219, 220, 221, 222, 223, 278,
279, 280, 281, 282, 283, 284, 332, 333,
334, 335, 336, 337, 3915, 3916, 3917,
3918, 3919, 3920, 3921, 3968, 3969,
3970, 3971, 3972, 3973, 3974, 4020,
4021, 4022, 4023, 4024, 4025, 4026,
4094, 4095, 4096, 4097, 4098, 4099,
4100, 4101, 4102, 4103, 4104, 4105,
4106, 4107, 4163, 4164, 4165, 4166,
4167, 4168, 4169, 4216, 4217, 4218,
4219, 4220, 4221, 4222, 196, 197, 198,
199, 200, 201, 202, 271, 272, 273, 274,
275, 276, 277, 325, 326, 327, 328, 329
)
AND cscart_product_review_prepared_data.storefront_id = 0