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 (
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, 330,
415, 416, 417, 418, 3616, 3617, 3618,
4080, 4081, 4082, 4083, 4084, 4085,
4086, 4156, 4157, 4158, 4159, 4160,
4161, 4162, 4209, 4210, 4211, 4212,
4213, 4214, 4215, 3102, 3110, 6670,
6685, 6698, 3095, 3101, 3108, 6683,
6697, 3099, 19, 20, 21, 3929, 3930, 3931,
6724, 3100, 3106, 3114, 3120, 3125,
3153, 3154, 6672
)
AND cscart_product_review_prepared_data.storefront_id = 0