SELECT 
  product_id 
FROM 
  cscart_product_popularity 
WHERE 
  product_id IN (
    35732, 35855, 35856, 35857, 35858, 35860, 
    35861, 35862, 35863, 35864, 35865, 
    35866, 35867, 35868, 35869, 35870, 
    35871, 35872, 35873, 35874, 35875, 
    35876, 35877, 35878
  )

Query time 0.00291

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": 24,
          "filtered": 100,
          "attached_condition": "cscart_product_popularity.product_id in (35732,35855,35856,35857,35858,35860,35861,35862,35863,35864,35865,35866,35867,35868,35869,35870,35871,35872,35873,35874,35875,35876,35877,35878)",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id
35732
35855
35856
35857
35858
35860
35861
35862
35863
35864
35865
35866
35867
35868
35869
35870
35871
35872
35873
35874
35875
35876
35877
35878