SELECT 
  product_id 
FROM 
  cscart_product_popularity 
WHERE 
  product_id IN (
    6828, 7008, 7009, 7032, 7033, 7071, 7034, 
    7110, 7096, 7095, 7072, 7111, 7112, 
    7113, 7180, 7181, 7182, 7223, 3190, 
    6757, 6745, 3197, 6769, 6751, 6835, 
    3288, 6831, 3294, 3168, 6740, 3169, 
    6741, 3273, 3284, 6821, 3280, 3180, 
    6752, 3181, 3272, 6820, 3278, 6826, 
    3279, 6827, 6837, 6838, 3275, 6839, 
    6823, 6842, 3295, 3281, 6762, 3187, 
    3176, 6766, 3195, 6739, 6737, 3167, 
    3166, 6738, 3193, 6755, 3198, 6763, 
    3282, 6746, 3185, 6836, 3289, 6830, 
    3283, 3271, 6832, 3177, 6756, 3192, 
    3183, 3174, 3191, 6748, 3171, 6754, 
    6758, 3194, 3182, 6759, 6743, 6747, 
    3172, 6753, 3184, 6742, 3865, 3186, 
    6765, 3175, 6829, 3291
  )

Query time 0.00130

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "20.94"
    },
    "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": 101,
      "rows_produced_per_join": 101,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "10.84",
        "eval_cost": "10.10",
        "prefix_cost": "20.94",
        "data_read_per_join": "3K"
      },
      "used_columns": [
        "product_id"
      ],
      "attached_condition": "(`test2_gaseus`.`cscart_product_popularity`.`product_id` in (6828,7008,7009,7032,7033,7071,7034,7110,7096,7095,7072,7111,7112,7113,7180,7181,7182,7223,3190,6757,6745,3197,6769,6751,6835,3288,6831,3294,3168,6740,3169,6741,3273,3284,6821,3280,3180,6752,3181,3272,6820,3278,6826,3279,6827,6837,6838,3275,6839,6823,6842,3295,3281,6762,3187,3176,6766,3195,6739,6737,3167,3166,6738,3193,6755,3198,6763,3282,6746,3185,6836,3289,6830,3283,3271,6832,3177,6756,3192,3183,3174,3191,6748,3171,6754,6758,3194,3182,6759,6743,6747,3172,6753,3184,6742,3865,3186,6765,3175,6829,3291))"
    }
  }
}

Result

product_id
3166
3167
3168
3169
3171
3172
3174
3175
3176
3177
3180
3181
3182
3183
3184
3185
3186
3187
3190
3191
3192
3193
3194
3195
3197
3198
3271
3272
3273
3275
3278
3279
3280
3281
3282
3283
3284
3288
3289
3291
3294
3295
3865
6737
6738
6739
6740
6741
6742
6743
6745
6746
6747
6748
6751
6752
6753
6754
6755
6756
6757
6758
6759
6762
6763
6765
6766
6769
6820
6821
6823
6826
6827
6828
6829
6830
6831
6832
6835
6836
6837
6838
6839
6842
7008
7009
7032
7033
7034
7071
7072
7095
7096
7110
7111
7112
7113
7180
7181
7182
7223