SELECT 
  product_id 
FROM 
  cscart_product_popularity 
WHERE 
  product_id IN (
    42294, 42293, 42292, 42290, 42289, 42288, 
    42287, 42291, 42286, 42295, 42296, 
    42297
  )

Query time 0.00061

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": 12,
          "filtered": 100,
          "attached_condition": "cscart_product_popularity.product_id in (42294,42293,42292,42290,42289,42288,42287,42291,42286,42295,42296,42297)",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id
42286
42287
42288
42289
42290
42291
42292
42293
42294
42295
42296
42297