SELECT 
  cscart_products.* 
FROM 
  cscart_products 
WHERE 
  cscart_products.product_id IN (
    312881, 312873, 312841, 312842, 312847, 
    312848, 312840, 312846, 312838, 312839, 
    312854, 312876
  )

Query time 0.00033

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.0216566,
    "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": 12,
          "cost": 0.0216566,
          "filtered": 100,
          "attached_condition": "cscart_products.product_id in (312881,312873,312841,312842,312847,312848,312840,312846,312838,312839,312854,312876)"
        }
      }
    ]
  }
}

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 xero_product_id allow_sg_quotation sg_quotation_note sg_seo_suggest sg_performance_suggest enable_flutterwave_subscription sg_zoho_id is_auction_product sg_created_by_user_id sg_product_condition
312838 10 P A 5 506.89 0 0.000 0 0 0 0.00 0 1764928922 1765354184 0 N N N N N N N Y 10 0 N N 0 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;} N N activity 0 0.000 1.000 Y 1765398003 1 Y N N N N 0 N
312839 11 P A 5 507.89 -4 0.000 0 0 0 0.00 0 1764928922 1765354200 0 N N N N N N N Y 10 0 N N 0 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;} N N activity 0 0.000 1.000 Y 1765398003 1 Y N N N N 0 N
312840 8 P A 5 508.89 0 0.000 0 0 0 0.00 0 1764928922 1765354150 0 N N N N N N N Y 10 0 N N 0 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;} N N activity 0 0.000 1.000 Y 1765398003 1 Y N N N N 0 N
312841 4 P A 5 509.89 0 0.000 0 0 0 0.00 0 1764928922 1765359392 0 N N N N N N N Y 10 0 N N 0 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;} N N activity 0 0.000 1.000 Y 1765398003 1 Y N N N N 0 N
312842 5 P A 5 510.89 0 0.000 0 0 0 0.00 0 1764928922 1765354098 0 N N N N N N N Y 10 0 N N 0 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;} N N activity 0 0.000 1.000 Y 1765398003 1 Y N N N N 0 N
312846 9 P A 5 514.89 0 0.000 0 0 0 0.00 0 1764928922 1765354167 0 N N N N N N N Y 10 0 N N 0 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;} N N activity 0 0.000 1.000 Y 1765398003 1 Y N N N N 0 N
312847 6 P A 5 515.89 0 0.000 0 0 0 0.00 0 1764928922 1765354114 0 N N N N N N N Y 10 0 N N 0 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;} N N activity 0 0.000 1.000 Y 1765398003 1 Y N N N N 0 N
312848 7 P A 5 516.89 0 0.000 0 0 0 0.00 0 1764928922 1765354130 0 N N N N N N N Y 10 0 N N 0 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;} N N activity 0 0.000 1.000 Y 1765398003 1 Y N N N N 0 N
312854 QiyiHigh00##33 P A 1 522.89 0 0.000 0 0 0 0.00 0 1764928922 1764930355 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 1765398003 1 Y N N N N 0 N
312873 2 P A 5 541.89 0 0.000 0 0 0 0.00 0 1764928922 1765354038 0 N N N N N N N Y 10 0 N N 0 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;} N N activity 0 0.000 1.000 Y 1765398003 1 Y N N N N 0 N
312876 12 P A 5 544.89 0 0.000 0 0 0 0.00 0 1764928922 1765354219 0 N N N N N N N Y 10 0 N N 0 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;} N N activity 0 0.000 1.000 Y 1765398003 1 Y N N N N 0 N
312881 1 P A 5 549.89 0 0.000 0 0 0 0.00 0 1764928922 1765540303 0 N N N N N N N Y 10 0 N N 0 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;} N N activity 0 0.000 1.000 Y 1765540277 1 Y N N N N 0 N