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 (
    315850, 315943, 316618, 323594, 323621, 
    324557, 73605, 87023, 265180, 300746, 
    305637, 312771, 323588, 324430, 325131, 
    325407, 228357, 261812, 293942, 301454, 
    311274, 312663, 323303, 323592, 323617, 
    323627, 325112, 325133, 265183, 286299, 
    292637, 305636, 323586, 323587, 326296, 
    327385, 328466, 302560, 305634, 305635, 
    311273, 312778, 312795, 312812, 315904, 
    323590, 323591, 323593, 323868, 325122, 
    325132, 325561, 227930, 300730, 305638, 
    323589, 325842, 328159, 300747, 312765, 
    312793, 312794, 315903, 325109, 330705, 
    306671, 312633, 324549, 185419, 269163, 
    273172, 299568, 300753, 302068, 312659, 
    325126, 327998, 328311, 185033, 229515
  ) 
  AND cscart_product_review_prepared_data.storefront_id = 0

Query time 0.00052

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "0.80"
    },
    "table": {
      "table_name": "cscart_product_review_prepared_data",
      "access_type": "ALL",
      "possible_keys": [
        "PRIMARY"
      ],
      "rows_examined_per_scan": 3,
      "rows_produced_per_join": 3,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "0.50",
        "eval_cost": "0.30",
        "prefix_cost": "0.80",
        "data_read_per_join": "48"
      },
      "used_columns": [
        "product_id",
        "storefront_id",
        "average_rating",
        "reviews_count"
      ],
      "attached_condition": "((`unicomps`.`cscart_product_review_prepared_data`.`storefront_id` = 0) and (`unicomps`.`cscart_product_review_prepared_data`.`product_id` in (315850,315943,316618,323594,323621,324557,73605,87023,265180,300746,305637,312771,323588,324430,325131,325407,228357,261812,293942,301454,311274,312663,323303,323592,323617,323627,325112,325133,265183,286299,292637,305636,323586,323587,326296,327385,328466,302560,305634,305635,311273,312778,312795,312812,315904,323590,323591,323593,323868,325122,325132,325561,227930,300730,305638,323589,325842,328159,300747,312765,312793,312794,315903,325109,330705,306671,312633,324549,185419,269163,273172,299568,300753,302068,312659,325126,327998,328311,185033,229515)))"
    }
  }
}