SELECT 
  product_id 
FROM 
  cscart_product_popularity 
WHERE 
  product_id IN (
    12575, 12576, 12577, 12578, 12579, 12580, 
    12581, 12582, 12583, 12584, 12585, 
    12586, 12587, 12588, 12589, 12590, 
    12591, 12592, 12593, 12564, 12565, 
    12566, 12567, 12568, 12569, 12570, 
    12571, 12572, 12573, 12574, 12556, 
    12555, 12558, 12557, 12560, 12559, 
    12562, 12561, 12563
  )

Query time 0.00056

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "8.24"
    },
    "table": {
      "table_name": "cscart_product_popularity",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY",
        "total"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "product_id"
      ],
      "key_length": "3",
      "rows_examined_per_scan": 39,
      "rows_produced_per_join": 39,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "4.34",
        "eval_cost": "3.90",
        "prefix_cost": "8.24",
        "data_read_per_join": "1K"
      },
      "used_columns": [
        "product_id"
      ],
      "attached_condition": "(`test2_gaseus`.`cscart_product_popularity`.`product_id` in (12575,12576,12577,12578,12579,12580,12581,12582,12583,12584,12585,12586,12587,12588,12589,12590,12591,12592,12593,12564,12565,12566,12567,12568,12569,12570,12571,12572,12573,12574,12556,12555,12558,12557,12560,12559,12562,12561,12563))"
    }
  }
}

Result

product_id
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593