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 (
170, 171, 172, 173, 174, 250, 251, 252,
253, 254, 255, 256, 304, 305, 306, 307,
308, 309, 3532, 3533, 3534, 3535, 3536,
3537, 3538, 3947, 3948, 3949, 3950,
3951, 3952, 3953, 3992, 3993, 3994,
3995, 3996, 3997, 3998, 4052, 4053,
4054, 4055, 4056, 4057, 4058, 4135,
4136, 4137, 4138, 4139, 4140, 4141,
4188, 4189, 4190, 4191, 4192, 4193,
4194, 29, 30, 31, 32, 33, 34, 35, 76, 77,
78, 79, 80, 81, 82, 140, 141, 142, 143,
144, 145, 146, 161, 162, 163, 164, 165,
166, 167, 243, 244, 245, 246, 247, 248,
249, 297
)
AND cscart_product_review_prepared_data.storefront_id = 0