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 (
    387039, 339692, 339737, 339535, 339534, 
    339573, 339496, 339617, 339620, 339621, 
    339742, 339611, 339533, 339710, 81689, 
    339587, 339683, 339444, 170248, 387094, 
    339722, 387042, 339570, 339610, 81674, 
    339584, 339771, 170250, 435270, 339638, 
    159865, 339625, 339706, 339529, 339751, 
    387037, 339736, 173787, 339618, 254333, 
    265275, 387092, 339569, 339581, 339615, 
    159861, 339770, 387040, 339705, 339608, 
    205885, 339619, 254332, 258305, 339783, 
    339693, 391684, 339732, 339779, 339759, 
    339607, 170249, 339572, 159863, 254325, 
    159864, 339775, 170247, 339476, 339589, 
    339652, 339571, 254327, 339778, 391687, 
    387089, 170216, 387056, 173789, 391688, 
    387096, 387093, 170251, 387041, 173763, 
    339738, 339456, 339686, 339550, 391689, 
    387098, 339780, 339739, 387045, 339644, 
    339747, 339586, 339630, 391800, 387044
  ) 
  AND cscart_product_review_prepared_data.storefront_id = 0

Query time 0.00043

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "5.87"
    },
    "table": {
      "table_name": "cscart_product_review_prepared_data",
      "access_type": "ALL",
      "possible_keys": [
        "PRIMARY"
      ],
      "rows_examined_per_scan": 19,
      "rows_produced_per_join": 19,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "2.07",
        "eval_cost": "3.80",
        "prefix_cost": "5.87",
        "data_read_per_join": "304"
      },
      "used_columns": [
        "product_id",
        "storefront_id",
        "average_rating",
        "reviews_count"
      ],
      "attached_condition": "((`webmarco`.`cscart_product_review_prepared_data`.`storefront_id` = 0) and (`webmarco`.`cscart_product_review_prepared_data`.`product_id` in (387039,339692,339737,339535,339534,339573,339496,339617,339620,339621,339742,339611,339533,339710,81689,339587,339683,339444,170248,387094,339722,387042,339570,339610,81674,339584,339771,170250,435270,339638,159865,339625,339706,339529,339751,387037,339736,173787,339618,254333,265275,387092,339569,339581,339615,159861,339770,387040,339705,339608,205885,339619,254332,258305,339783,339693,391684,339732,339779,339759,339607,170249,339572,159863,254325,159864,339775,170247,339476,339589,339652,339571,254327,339778,391687,387089,170216,387056,173789,391688,387096,387093,170251,387041,173763,339738,339456,339686,339550,391689,387098,339780,339739,387045,339644,339747,339586,339630,391800,387044)))"
    }
  }
}