SELECT 
  product_id 
FROM 
  cscart_product_popularity 
WHERE 
  product_id IN (
    7496, 7497, 7500, 7501, 7506, 7507, 7528, 
    7529, 5219, 5217, 5216, 3728, 5215, 
    5218, 1513, 1512, 1514, 1511, 1515, 
    5231, 5229, 514, 3730, 5228, 5230, 1530, 
    1527, 3675, 1528, 1526, 1529, 5214, 
    5212, 5211, 3727, 5210, 5213, 1510, 
    1507, 1506, 1508, 1505, 1509, 5236, 
    5234, 5233, 3731, 5232, 5235, 1536, 
    1533, 1532, 1534, 1531, 1535
  )

Query time 0.00051

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "11.52"
    },
    "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": 55,
      "rows_produced_per_join": 55,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "6.02",
        "eval_cost": "5.50",
        "prefix_cost": "11.52",
        "data_read_per_join": "1K"
      },
      "used_columns": [
        "product_id"
      ],
      "attached_condition": "(`gaseus`.`cscart_product_popularity`.`product_id` in (7496,7497,7500,7501,7506,7507,7528,7529,5219,5217,5216,3728,5215,5218,1513,1512,1514,1511,1515,5231,5229,514,3730,5228,5230,1530,1527,3675,1528,1526,1529,5214,5212,5211,3727,5210,5213,1510,1507,1506,1508,1505,1509,5236,5234,5233,3731,5232,5235,1536,1533,1532,1534,1531,1535))"
    }
  }
}

Result

product_id
514
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
3675
3727
3728
3730
3731
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5228
5229
5230
5231
5232
5233
5234
5235
5236
7496
7497
7500
7501
7506
7507
7528
7529