SELECT 
  cscart_company_descriptions.*, 
  cscart_companies.*, 
  p.price, 
  p.periodicity, 
  p.commission, 
  p.products_limit, 
  p.revenue_limit, 
  p.vendor_store, 
  p.categories, 
  p.storefronts 
FROM 
  cscart_companies 
  LEFT JOIN cscart_company_descriptions ON cscart_company_descriptions.company_id = cscart_companies.company_id 
  AND cscart_company_descriptions.lang_code = 'en' 
  LEFT JOIN cscart_vendor_plans p ON p.plan_id = cscart_companies.plan_id 
WHERE 
  cscart_companies.company_id IN('1') 
ORDER BY 
  cscart_companies.company_id asc 
LIMIT 
  0, 1

Query time 0.00140

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "1.00"
    },
    "ordering_operation": {
      "using_filesort": false,
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_companies",
            "access_type": "const",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "company_id"
            ],
            "key_length": "4",
            "ref": [
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 1,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.20",
              "prefix_cost": "0.00",
              "data_read_per_join": "9K"
            },
            "used_columns": [
              "company_id",
              "status",
              "company",
              "lang_code",
              "address",
              "city",
              "state",
              "country",
              "zipcode",
              "email",
              "phone",
              "url",
              "storefront",
              "secure_storefront",
              "entry_page",
              "redirect_customer",
              "countries_list",
              "timestamp",
              "shippings",
              "logos",
              "request_user_id",
              "request_account_name",
              "request_account_data",
              "pre_moderation",
              "pre_moderation_edit",
              "pre_moderation_edit_vendors",
              "plan_id",
              "sd_vendor_helper",
              "identifier_facebook_pixel",
              "stripe_connect_account_id",
              "tax_number",
              "facebook_pixel_id",
              "facebook_api_token",
              "handling_time_us",
              "handling_time_uk",
              "handling_time_it",
              "handling_time_in",
              "handling_time_mx",
              "handling_time_es",
              "handling_time_de",
              "handling_time_fr",
              "handling_time_cn",
              "handling_time_ca",
              "handling_time_jp",
              "handling_time",
              "blocked_date",
              "booking_data",
              "stripe_connect_account_type",
              "registered_from_storefront_id",
              "ec_rfq_whatsapp_number",
              "ec_rfq_phone_number",
              "ec_rfq_bhf",
              "ec_rfq_bht",
              "sd_ga_tracking_code",
              "sd_ga_api_secret"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_company_descriptions",
            "access_type": "const",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "company_id",
              "lang_code"
            ],
            "key_length": "10",
            "ref": [
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 1,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.20",
              "prefix_cost": "0.00",
              "data_read_per_join": "3K"
            },
            "used_columns": [
              "company_id",
              "lang_code",
              "company_description",
              "terms",
              "meta_keywords",
              "meta_description",
              "page_title",
              "i18n_company",
              "i18n_address",
              "i18n_city"
            ]
          }
        },
        {
          "table": {
            "table_name": "p",
            "access_type": "const",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "plan_id"
            ],
            "key_length": "4",
            "ref": [
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 1,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.00",
              "eval_cost": "0.20",
              "prefix_cost": "0.00",
              "data_read_per_join": "80"
            },
            "used_columns": [
              "plan_id",
              "price",
              "periodicity",
              "commission",
              "products_limit",
              "revenue_limit",
              "vendor_store",
              "categories",
              "storefronts"
            ]
          }
        }
      ]
    }
  }
}

Result

company_id lang_code company_description terms meta_keywords meta_description page_title i18n_company i18n_address i18n_city status company address city state country zipcode email phone url storefront secure_storefront entry_page redirect_customer countries_list timestamp shippings logos request_user_id request_account_name request_account_data pre_moderation pre_moderation_edit pre_moderation_edit_vendors plan_id sd_vendor_helper identifier_facebook_pixel stripe_connect_account_id tax_number facebook_pixel_id facebook_api_token handling_time_us handling_time_uk handling_time_it handling_time_in handling_time_mx handling_time_es handling_time_de handling_time_fr handling_time_cn handling_time_ca handling_time_jp handling_time blocked_date booking_data stripe_connect_account_type registered_from_storefront_id ec_rfq_whatsapp_number ec_rfq_phone_number ec_rfq_bhf ec_rfq_bht sd_ga_tracking_code sd_ga_api_secret price periodicity commission products_limit revenue_limit vendor_store categories storefronts
1 en <p>The company that makes the best shopping cart software in the world</p> <p>Please read the Simtech's Terms and Conditions ("Terms", "Terms and Conditions") carefully before purchasing products from the Vendor via the <a href="http://www.mywebsite.com">http://www.mywebsite.com</a> website and the My Mobile App mobile application (the "Service") operated by My Company ("us", "we", or "our").</p> <p><strong>By submitting the order you agree to be bound by these Terms. If you disagree with any part of the Terms then you may not access the Service.</strong></p> <p><strong>Purchases</strong></p> <p>If you wish to purchase any product or service made available through the Service ("Purchase"), you may be asked to supply certain information relevant to your Purchase including, without limitation, your ...</p> <p><span></span><strong>Content</strong></p> <p>Our Service allows you to post, link, store, share and otherwise make available certain information, text, graphics, videos, or other material ("Content"). You are responsible for the ...</p> <p><span></span><strong>Changes</strong></p> <p>We reserve the right, at our sole discretion, to modify or replace these Terms at any time. If a revision is material we will try to provide at least 30 days' notice prior to any new terms taking effect. What constitutes a material change will be determined at our sole discretion.</p> <p><span></span><strong>Contact Us</strong></p> <p>If you have any questions about these Terms, please contact us.</p> Simtech Boston street Boston A Simtech Boston street Boston AL-11 AL 02125 simtech@webmarco.com 694676447 none Y 1269610461 49,38,24 0 N N N 10 acct_1ItYatLVbpML5tMt 0 0 0 0 0 0 0 0 0 0 0 0 a:32:{s:12:"booking_type";s:1:"N";s:9:"from_date";i:1724623200;s:7:"to_date";i:1724623200;s:9:"slot_time";s:1:"0";s:9:"free_time";s:1:"0";s:9:"days_data";s:738:"a:21:{s:13:"sunday_status";i:0;s:24:"sunday_timing_start_time";s:0:"";s:22:"sunday_timing_end_time";s:0:"";s:13:"monday_status";i:0;s:24:"monday_timing_start_time";s:0:"";s:22:"monday_timing_end_time";s:0:"";s:14:"tuesday_status";i:0;s:25:"tuesday_timing_start_time";s:0:"";s:23:"tuesday_timing_end_time";s:0:"";s:16:"wednesday_status";i:0;s:27:"wednesday_timing_start_time";s:0:"";s:25:"wednesday_timing_end_time";s:0:"";s:15:"thursday_status";i:0;s:26:"thursday_timing_start_time";s:0:"";s:24:"thursday_timing_end_time";s:0:"";s:13:"friday_status";i:0;s:24:"friday_timing_start_time";s:0:"";s:22:"friday_timing_end_time";s:0:"";s:15:"saturday_status";i:0;s:26:"saturday_timing_start_time";s:0:"";s:24:"saturday_timing_end_time";s:0:"";}";s:17:"quantity_selector";s:1:"N";s:24:"sunday_timing_start_time";s:0:"";s:22:"sunday_timing_end_time";s:0:"";s:24:"monday_timing_start_time";s:0:"";s:22:"monday_timing_end_time";s:0:"";s:25:"tuesday_timing_start_time";s:0:"";s:23:"tuesday_timing_end_time";s:0:"";s:27:"wednesday_timing_start_time";s:0:"";s:25:"wednesday_timing_end_time";s:0:"";s:26:"thursday_timing_start_time";s:0:"";s:24:"thursday_timing_end_time";s:0:"";s:24:"friday_timing_start_time";s:0:"";s:22:"friday_timing_end_time";s:0:"";s:26:"saturday_timing_start_time";s:0:"";s:24:"saturday_timing_end_time";s:0:"";s:1:"R";a:4:{s:9:"from_date";s:10:"26/08/2024";s:7:"to_date";s:10:"26/08/2024";s:20:"minimum_booking_time";s:1:"0";s:10:"price_wise";a:0:{}}s:15:"show_price_date";s:1:"N";s:12:"blocked_date";s:0:"";s:13:"sunday_status";i:0;s:13:"monday_status";i:0;s:14:"tuesday_status";i:0;s:16:"wednesday_status";i:0;s:15:"thursday_status";i:0;s:13:"friday_status";i:0;s:15:"saturday_status";i:0;s:10:"price_wise";a:0:{}} S 0.00 month 6.10 0 0.00 1