SELECT 
  product_id 
FROM 
  cscart_product_popularity 
WHERE 
  product_id IN (
    12463, 12462, 12461, 12460, 12459, 12458, 
    12457, 12456, 12455, 12454, 12453, 
    12452, 12451, 12450, 12449, 12448, 
    12447, 12446, 12445, 12444, 12443, 
    12442, 12441, 12440, 12439, 12438, 
    12437, 12436, 12435, 12434, 12433, 
    12432, 12431, 12430, 12429, 12428, 
    12427, 12426, 12425
  )

Query time 0.00090

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 (12463,12462,12461,12460,12459,12458,12457,12456,12455,12454,12453,12452,12451,12450,12449,12448,12447,12446,12445,12444,12443,12442,12441,12440,12439,12438,12437,12436,12435,12434,12433,12432,12431,12430,12429,12428,12427,12426,12425))"
    }
  }
}

Result

product_id
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463