SELECT 
  product_id 
FROM 
  cscart_product_popularity 
WHERE 
  product_id IN (
    35974, 35975, 35976, 35977, 35978, 35979, 
    35980, 35981, 35982, 35983, 35984
  )

Query time 0.00184

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": 11,
          "filtered": 100,
          "attached_condition": "cscart_product_popularity.product_id in (35974,35975,35976,35977,35978,35979,35980,35981,35982,35983,35984)",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id
35974
35975
35976
35977
35978
35979
35980
35981
35982
35983
35984