SELECT 
  product_id 
FROM 
  cscart_product_popularity 
WHERE 
  product_id IN (
    49879, 49877, 49878, 49880, 49881, 49882, 
    49883, 49884, 49885, 49886, 49887, 
    49888, 49889, 49890, 49891, 49892, 
    49893
  )

Query time 0.00100

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 (49879,49877,49878,49880,49881,49882,49883,49884,49885,49886,49887,49888,49889,49890,49891,49892,49893)",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id
49877
49878
49879
49880
49881
49882
49883
49884
49885
49886
49887
49888
49889
49890
49891
49892
49893