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 (
    32166, 36466, 10507, 13072, 38267, 5557, 
    8831, 9852, 38961, 15995, 17646, 18332, 
    64311, 2090, 9685, 15951, 18328, 18330, 
    18433, 18434, 18437, 18473, 30408, 
    30907
  ) 
  AND cscart_product_review_prepared_data.storefront_id = 0

Query time 0.00037

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "12.95"
    },
    "table": {
      "table_name": "cscart_product_review_prepared_data",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "product_id",
        "storefront_id"
      ],
      "key_length": "7",
      "rows_examined_per_scan": 24,
      "rows_produced_per_join": 24,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "10.55",
        "eval_cost": "2.40",
        "prefix_cost": "12.95",
        "data_read_per_join": "384"
      },
      "used_columns": [
        "product_id",
        "storefront_id",
        "average_rating",
        "reviews_count"
      ],
      "attached_condition": "((`cscart_db`.`cscart_product_review_prepared_data`.`storefront_id` = 0) and (`cscart_db`.`cscart_product_review_prepared_data`.`product_id` in (32166,36466,10507,13072,38267,5557,8831,9852,38961,15995,17646,18332,64311,2090,9685,15951,18328,18330,18433,18434,18437,18473,30408,30907)))"
    }
  }
}

Result

product_id average_rating reviews_count
2090 5.00 3
5557 5.00 1
8831 5.00 1
9685 5.00 1
9852 5.00 1
10507 5.00 2
13072 5.00 1
18328 5.00 2
18330 5.00 1
18332 5.00 1
18437 5.00 1
30408 5.00 1
32166 4.00 1
36466 5.00 1