SELECT 
  product_id 
FROM 
  cscart_product_popularity 
WHERE 
  product_id IN (
    7494, 7495, 7498, 7499, 7504, 7505, 7526, 
    7527, 2219, 5227, 5226, 2217, 5225, 
    2218, 1525, 1524, 5817, 1523, 5818, 
    5238, 5240, 5237, 5239, 5241, 3732, 
    6449, 1543, 6448, 2864, 5242, 2863, 
    5243, 1517, 1520, 1518, 1519, 5224, 
    1541, 1537, 1540, 1544, 1545, 2735, 
    5244, 6322, 1521, 1522, 5223, 5220, 
    3729, 5221, 5222, 1538, 1539, 1542
  )

Query time 0.00127

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 (7494,7495,7498,7499,7504,7505,7526,7527,2219,5227,5226,2217,5225,2218,1525,1524,5817,1523,5818,5238,5240,5237,5239,5241,3732,6449,1543,6448,2864,5242,2863,5243,1517,1520,1518,1519,5224,1541,1537,1540,1544,1545,2735,5244,6322,1521,1522,5223,5220,3729,5221,5222,1538,1539,1542))"
    }
  }
}

Result

product_id
1517
1518
1519
1520
1521
1522
1523
1524
1525
1537
1538
1539
1540
1541
1542
1543
1544
1545
2217
2218
2219
2735
2863
2864
3729
3732
5220
5221
5222
5223
5224
5225
5226
5227
5237
5238
5239
5240
5241
5242
5243
5244
5817
5818
6322
6448
6449
7494
7495
7498
7499
7504
7505
7526
7527