SELECT 
  cscart_products.* 
FROM 
  cscart_products 
WHERE 
  cscart_products.product_id IN (
    312858, 312863, 312865, 312868, 312849, 
    312850
  )

Query time 0.00034

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.01122386,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_products",
          "access_type": "range",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["product_id"],
          "loops": 1,
          "rows": 6,
          "cost": 0.01122386,
          "filtered": 100,
          "attached_condition": "cscart_products.product_id in (312858,312863,312865,312868,312849,312850)"
        }
      }
    ]
  }
}

Result

product_id product_code product_type status company_id list_price 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 show_videos_before_images autoplay_videos facebook_obj_type parent_product_id buy_now_url units_in_product show_price_per_x_units sg_is_synced sg_solr_update_timestamp resale_product sg_review_analysis allow_sg_quotation sg_quotation_note sg_seo_suggest sg_performance_suggest enable_flutterwave_subscription is_auction_product sg_created_by_user_id sg_product_condition sg_zoho_id xero_product_id
312849 QiyiHigh00##28 P A 1 517.89 0 0.000 0 0 0 0.00 0 1764928922 1764930348 0 N N N N N N N Y 10 0 N N 0 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;} N N 0 0.000 1.000 Y 1765428242 1 Y N N N N 0 N
312850 QiyiHigh00##29 P A 1 518.89 0 0.000 0 0 0 0.00 0 1764928922 1764930350 0 N N N N N N N Y 10 0 N N 0 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;} N N 0 0.000 1.000 Y 1765428242 1 Y N N N N 0 N
312858 QiyiHigh00##37 P A 1 526.89 0 0.000 0 0 0 0.00 0 1764928922 1764930360 0 N N N N N N N Y 10 0 N N 0 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;} N N 0 0.000 1.000 Y 1765402082 1 Y N N N N 0 N
312863 QiyiHigh00##42 P A 1 531.89 0 0.000 0 0 0 0.00 0 1764928922 1764930367 0 N N N N N N N Y 10 0 N N 0 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;} N N 0 0.000 1.000 Y 1765402442 1 Y N N N N 0 N
312865 QiyiHigh00##44 P A 1 533.89 0 0.000 0 0 0 0.00 0 1764928922 1764930369 0 N N N N N N N Y 10 0 N N 0 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;} N N 0 0.000 1.000 Y 1765428122 1 Y N N N N 0 N
312868 QiyiHigh00##47 P A 1 536.89 0 0.000 0 0 0 0.00 0 1764928922 1764930373 0 N N N N N N N Y 10 0 N N 0 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;} N N 0 0.000 1.000 Y 1765428242 1 Y N N N N 0 N