SELECT 
  product_id 
FROM 
  cscart_product_popularity 
WHERE 
  product_id IN (
    36662, 36663, 36664, 36665, 36666, 36667, 
    36668, 36669, 36670, 36671, 36672, 
    36673, 36674, 36675, 36676, 36677, 
    36678
  )

Query time 0.00064

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_product_popularity",
          "access_type": "range",
          "possible_keys": ["PRIMARY", "total"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["product_id"],
          "rows": 17,
          "filtered": 100,
          "attached_condition": "cscart_product_popularity.product_id in (36662,36663,36664,36665,36666,36667,36668,36669,36670,36671,36672,36673,36674,36675,36676,36677,36678)",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id
36662
36663
36664
36665
36666
36667
36668
36669
36670
36671
36672
36673
36674
36675
36676
36677
36678