SELECT 
  product_id 
FROM 
  cscart_product_popularity 
WHERE 
  product_id IN (
    431616, 431617, 431618, 431619, 431620, 
    431621, 431622, 431623, 431624, 431625, 
    431626, 431627, 431628, 431629, 431630, 
    431631, 431632, 431633, 431634, 431635, 
    431636, 431637, 431638, 431639, 431640, 
    431641, 431642, 431643, 431644, 431645, 
    431646, 431647, 431648, 431649, 431650, 
    431651, 431652, 431653, 431654, 431655, 
    431656, 431657, 431658
  )

Query time 0.00085

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "18.26"
    },
    "table": {
      "table_name": "cscart_product_popularity",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY",
        "total"
      ],
      "key": "total",
      "used_key_parts": [
        "product_id"
      ],
      "key_length": "3",
      "rows_examined_per_scan": 43,
      "rows_produced_per_join": 43,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "9.66",
        "eval_cost": "8.60",
        "prefix_cost": "18.26",
        "data_read_per_join": "1K"
      },
      "used_columns": [
        "product_id"
      ],
      "attached_condition": "(`webmarco`.`cscart_product_popularity`.`product_id` in (431616,431617,431618,431619,431620,431621,431622,431623,431624,431625,431626,431627,431628,431629,431630,431631,431632,431633,431634,431635,431636,431637,431638,431639,431640,431641,431642,431643,431644,431645,431646,431647,431648,431649,431650,431651,431652,431653,431654,431655,431656,431657,431658))"
    }
  }
}

Result

product_id
431616
431617
431618
431619
431620
431621
431622
431623
431624
431625
431626
431627
431628
431629
431630
431631
431632
431633
431634
431635
431636
431637
431638
431639
431640
431641
431642
431643
431644
431645
431646
431647
431648
431649
431650
431651
431652
431653
431654
431655
431656
431657
431658