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 (
5189, 5190, 5191, 5192, 5193, 1467, 1468,
1469, 1470, 1471, 5176, 5177, 5178,
5179, 5180, 5181, 447, 448, 449, 450,
451, 452, 453, 454, 455, 1932, 1933,
1934, 1935, 1936, 1937, 1938, 1939,
1940, 1941, 1942, 1943, 1944, 1945,
1946, 1947, 1948, 1949, 1950, 1951,
1952, 1953, 1954, 1955, 1956, 1957,
1958, 1959, 1960, 1961, 1962, 1963,
1964, 1965, 1966, 1967, 1968, 1969,
1970, 1971, 1972, 1973, 1974, 1975,
1976, 1977, 1978, 1979, 1980, 1981,
1982, 1983, 1984, 4253, 4254, 4255,
4256, 4257, 4258, 4259, 4260, 4261,
5614, 5615, 5616, 5617, 5618, 5619,
5620, 5621, 5622
)
AND cscart_product_review_prepared_data.storefront_id = 0