SELECT 
  product_id 
FROM 
  cscart_product_popularity 
WHERE 
  product_id IN (
    12617, 12618, 12619, 12620, 12621, 12622, 
    12623, 12616, 12615, 12614, 12613, 
    12612, 12611, 12610
  )

Query time 0.00051

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "3.12"
    },
    "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": 14,
      "rows_produced_per_join": 14,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "1.72",
        "eval_cost": "1.40",
        "prefix_cost": "3.12",
        "data_read_per_join": "448"
      },
      "used_columns": [
        "product_id"
      ],
      "attached_condition": "(`test2_gaseus`.`cscart_product_popularity`.`product_id` in (12617,12618,12619,12620,12621,12622,12623,12616,12615,12614,12613,12612,12611,12610))"
    }
  }
}

Result

product_id
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623