SELECT 
  product_id 
FROM 
  cscart_product_popularity 
WHERE 
  product_id IN (
    339, 1565, 1566, 1567, 1568, 1569, 1570
  )

Query time 0.00035

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_product_popularity",
      "access_type": "range",
      "possible_keys": ["PRIMARY", "total"],
      "key": "PRIMARY",
      "key_length": "3",
      "used_key_parts": ["product_id"],
      "rows": 7,
      "filtered": 100,
      "attached_condition": "cscart_product_popularity.product_id in (339,1565,1566,1567,1568,1569,1570)",
      "using_index": true
    }
  }
}

Result

product_id
339
1565
1566
1567
1568
1569
1570