SELECT 
  product_id 
FROM 
  cscart_product_popularity 
WHERE 
  product_id IN (
    7278, 7351, 7353, 7355, 7357, 7359, 6767, 
    3188, 6760, 6744, 3196, 6749, 3178, 
    3290, 3276, 6824, 3292, 3274, 3285, 
    3286, 6833
  )

Query time 0.00038

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "4.56"
    },
    "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": 21,
      "rows_produced_per_join": 21,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "2.46",
        "eval_cost": "2.10",
        "prefix_cost": "4.56",
        "data_read_per_join": "672"
      },
      "used_columns": [
        "product_id"
      ],
      "attached_condition": "(`gaseus`.`cscart_product_popularity`.`product_id` in (7278,7351,7353,7355,7357,7359,6767,3188,6760,6744,3196,6749,3178,3290,3276,6824,3292,3274,3285,3286,6833))"
    }
  }
}

Result

product_id
3178
3188
3196
3274
3276
3285
3286
3290
3292
6744
6749
6760
6767
6824
6833
7278
7351
7353
7355
7357
7359