SELECT 
  cscart_products.* 
FROM 
  cscart_products 
WHERE 
  cscart_products.product_id IN (
    32166, 36466, 10507, 13072, 38267, 5557, 
    8831, 9852, 38961, 15995, 17646, 18332, 
    64311, 2090, 9685, 15951, 18328, 18330, 
    18433, 18434, 18437, 18473, 30408, 
    30907
  )

Query time 0.00097

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "16.01"
    },
    "table": {
      "table_name": "cscart_products",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY",
        "idx_products_inventory"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "product_id"
      ],
      "key_length": "3",
      "rows_examined_per_scan": 24,
      "rows_produced_per_join": 24,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "13.61",
        "eval_cost": "2.40",
        "prefix_cost": "16.01",
        "data_read_per_join": "125K"
      },
      "used_columns": [
        "product_id",
        "kl_erp_inventory_id",
        "product_code",
        "hsn_code",
        "product_type",
        "status",
        "company_id",
        "list_price",
        "amount",
        "kl_enable_qc",
        "kl_qc_amount",
        "weight",
        "length",
        "width",
        "height",
        "shipping_freight",
        "low_avail_limit",
        "timestamp",
        "updated_timestamp",
        "usergroup_ids",
        "is_edp",
        "edp_shipping",
        "unlimited_download",
        "tracking",
        "free_shipping",
        "zero_price_action",
        "is_pbp",
        "is_op",
        "is_oper",
        "is_returnable",
        "return_period",
        "avail_since",
        "out_of_stock_actions",
        "localization",
        "min_qty",
        "max_qty",
        "qty_step",
        "list_qty_count",
        "tax_ids",
        "age_verification",
        "age_limit",
        "options_type",
        "exceptions_type",
        "details_layout",
        "shipping_params",
        "facebook_obj_type",
        "parent_product_id",
        "buy_now_url",
        "is_stock_split_by_warehouses",
        "master_product_id",
        "master_product_status",
        "master_product_offers_count",
        "youtube_link",
        "show_youtube_video",
        "replace_main_image",
        "position_youtube",
        "restrict_cod",
        "seo_content"
      ],
      "attached_condition": "(`cscart_db`.`cscart_products`.`product_id` in (32166,36466,10507,13072,38267,5557,8831,9852,38961,15995,17646,18332,64311,2090,9685,15951,18328,18330,18433,18434,18437,18473,30408,30907))"
    }
  }
}

Result

product_id kl_erp_inventory_id product_code hsn_code product_type status company_id list_price amount kl_enable_qc kl_qc_amount weight length width height shipping_freight low_avail_limit timestamp updated_timestamp usergroup_ids is_edp edp_shipping unlimited_download tracking free_shipping zero_price_action is_pbp is_op is_oper is_returnable return_period avail_since out_of_stock_actions localization min_qty max_qty qty_step list_qty_count tax_ids age_verification age_limit options_type exceptions_type details_layout shipping_params facebook_obj_type parent_product_id buy_now_url is_stock_split_by_warehouses master_product_id master_product_status master_product_offers_count youtube_link show_youtube_video replace_main_image position_youtube restrict_cod seo_content
2090 #8908012640097 3304 P A 13 400.00 29 0 0 15.000 0 0 0 0.00 0 1618217716 1772690482 0 N N N B N R Y N N Y 10 0 N 0 5 0 0 13 N 0 P F default a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} activity 0 N 0 A 0 Y N
5557 AULI73 3304 P A 13 1499.00 20 0 0 0.000 0 0 0 0.00 0 1640090971 1772690482 0 N N N B N R Y N N Y 10 0 N 0 5 0 0 13 N 0 P F default a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 N 0 A 0 Y N
8831 CAR100 30049011 P A 13 1399.00 16 0 0 0.000 0 0 0 0.00 0 1648450254 1772690482 0 N N N B N R Y N N Y 10 0 N 0 5 0 0 11 N 0 P F default a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 N 0 A 0 Y N
9685 MS034 3304 P A 13 810.00 49 0 0 0.000 0 0 0 0.00 0 1649742733 1772692240 0 N N N B N R Y N N Y 10 0 N 0 5 0 0 13 N 0 P F default a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 N 0 A 0 Y N
9852 BO101 3304 P A 13 690.00 48 0 0 0.000 0 0 0 0.00 0 1649929382 1772692240 0 N N N B N R Y N N Y 10 0 N 0 5 0 0 13 N 0 P F default a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 N 0 A 0 Y N
10507 SKU050 3304 P A 13 299.00 1 0 0 0.000 0 0 0 0.00 0 1651141223 1772692240 0 N N N B N R Y N N Y 10 0 N 0 5 0 0 13 N 0 P F default a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 N 0 A 0 Y N
13072 LE08 33011990 P A 13 249.00 995 0 0 0.000 0 0 0 0.00 0 1657008933 1772692240 0 N N N B N R Y N N Y 10 0 N 0 5 0 0 13 N 0 P F default a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 N 0 A 0 Y N
15951 OINEM0100_5 3304 P A 13 300.00 96 0 0 0.000 0 0 0 0.00 0 1660647951 1772692240 0 N N N B N R Y N N Y 10 0 N 0 5 0 0 13 N 0 P F default a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 N 0 A 0 Y N
15995 OINEM0100 3304 P A 13 299.00 95 0 0 0.000 0 0 0 0.00 0 1660647951 1772692240 0 N N N B N R Y N N Y 10 0 N 0 5 0 0 13 N 0 P F default a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 N 0 A 0 Y N
17646 8904134009514 3304 P A 13 850.00 2 0 0 0.000 0 0 0 0.00 0 1663138931 1772692240 0 N N N B N R Y N N Y 10 0 N 0 5 0 0 13 N 0 P F default a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 N 0 A 0 Y N
18328 BC-EO-EU-015 33012990 P A 13 335.00 1009342 0 0 0.000 0 0 0 0.00 0 1664266604 1772692240 0 N N N B N R Y N N Y 10 0 N 0 5 0 0 13 N 0 P F default a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 N 0 A 0 Y N
18330 BC-EO-LV-015 33012990 P A 13 465.00 1009582 0 0 0.000 0 0 0 0.00 0 1664266604 1772692240 0 N N N B N R Y N N Y 10 0 N 0 5 0 0 13 N 0 P F default a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 N 0 A 0 Y N
18332 BC-EO-RM-015 33012990 P A 13 418.00 1007386 0 0 0.000 0 0 0 0.00 0 1664266604 1772692240 0 N N N B N R Y N N Y 10 0 N 0 5 0 0 13 N 0 P F default a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 N 0 A 0 Y N
18433 BC-CP-AR-030 15159091 P A 13 612.00 1008086 0 0 0.000 0 0 0 0.00 0 1664266604 1772692240 0 N N N B N R Y N N Y 10 0 N 0 5 0 0 11 N 0 P F default a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 N 0 A 0 Y N
18434 BC-CP-CA-200 15153010 P A 13 376.00 1002224 0 0 0.000 0 0 0 0.00 0 1664266604 1772692240 0 N N N B N R Y N N Y 10 0 N 0 5 0 0 11 N 0 P F default a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 N 0 A 0 Y N
18437 BC-CP-JO-030 15159091 P A 13 329.00 1005109 0 0 0.000 0 0 0 0.00 0 1664266604 1772692240 0 N N N B N R Y N N Y 10 0 N 0 5 0 0 11 N 0 P F default a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 N 0 A 0 Y N
18473 CB-BA-BNBM-02 30049021 P A 13 870.00 1009839 0 0 0.000 0 0 0 0.00 0 1664266604 1772692240 0 N N N B N R Y N N Y 10 0 N 0 5 0 0 11 N 0 P F default a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 N 0 A 0 Y N
30408 TTO100 3304 P A 13 595.00 348 0 0 0.000 0 0 0 0.00 0 1684232791 1772692240 0 N N N B N R Y N N Y 10 0 N 0 5 0 0 13 N 0 P F default a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 N 0 A 0 Y N
30907 MC_Ayurvedic_Beard Growth Oil_50ml 33059090 P A 13 499.00 1000 0 0 0.000 0 0 0 0.00 0 1684834458 1772692240 0 N N N B N R Y N N Y 10 0 N 0 5 0 0 13 N 0 P F default a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 N 0 A 0 Y N
32166 8809634610102 3304 P A 13 1700.00 15 0 0 0.000 0 0 0 0.00 0 1690308644 1772692240 0 N N N B N R Y N N Y 10 0 N 0 5 0 0 13 N 0 P F default a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 N 0 A 0 Y N
36466 RMO100 3304 P A 13 595.00 8 0 0 140.000 0 0 0 0.00 0 1710154168 1772692240 0 N N N B N R Y N N Y 10 0 N 0 5 0 0 13 N 0 P F default a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 N 0 A 0 Y N
38267 AP-10HB 3304 P A 13 399.00 3 0 0 1.000 0 0 0 0.00 0 1727424168 1772692240 0 N N N B N R Y N N Y 10 0 N 0 5 0 0 13 N 0 P F default a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 N 0 A 0 Y N
38961 PB-010-RO-DS 3304 P A 13 499.00 77 0 0 0.000 0 0 0 0.00 0 1728976330 1772690482 0 N N N B N R Y N N Y 10 0 N 0 5 0 0 13 N 0 P F default a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 N 0 A 0 Y N
64311 8906161980736 3304 P A 13 549.00 285 0 0 0.000 0 0 0 0.00 0 1734419263 1772692240 0 N N N B N R Y N N Y 10 0 N 0 5 0 0 13 N 0 P F default a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 N 0 A 0 Y N