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('398') 
ORDER BY 
  cscart_companies.company_id asc 
LIMIT 
  0, 1

Query time 0.00051

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
398 sq <p class="text-center"><strong><img src="https://webmarco.com/images/All%20vendors/Team%20Cleaning/Untitled%20design%20-%202021-10-14T143806.175.png?1634215125788" alt="Untitled%20design%20-%202021-10-14T143806.175.png?1634215125788" /></strong></p> <p><strong></strong></p> <p style="font-size:30px;margin:0px 0px 0px 200px;" class="text-left"><strong>STUDIO JOVIAL</strong></p> <div class="row-fluid"> <div class="span7"> <p style="font-size:20px;color:rgb(149,55,52);"><strong>STUDIO JOVIAL OFFERS:</strong></p> <p style="font-size:15px;color:#000000;">Wedding Photography and Videography, Family Events Photography & Videography like Birthdays, Baptism, Baby Shower, etc. Newborn Photography, Pregnancy Photography, Real Estate Photography, School Events, Graphic & Design Work like Business Cards, Calendars, Photo Albums, Photo Restoration, Porcelain Photo, Digital Prints, Embroidery Designs, T-Shirt Printing, Converting Analog VHS, 8mm & 16mm, Mini DV Cassettes to DVD or USB Video, etc. </p><p></p> <p style="font-size:18px;"><strong><span style="color:rgb(149,55,52);">Capturing moments from today…<br />Creating memories for a lifetime!<br />Photos you’ll love&hellip...with memories for life! <br />We capture your memories forever.</span></strong><br /></p> </div> <div class="span7"> <img src="https://webmarco.com/images/All%20vendors/Team%20Cleaning/vintage-camera-2021-08-26-16-31-06-utc-min.jpg?1634216856495" style="width:auto;height:auto;" alt="vintage-camera-2021-08-26-16-31-06-utc-min.jpg?1634216856495" /><p></p> </div> </div> Photopgraphy, videography, family events, memories, photos, videos, T-Shirt Printing, capture moments, professional photos, PhotoAlbums, studio jovial, webmarco, web, marco, MiniDV Cassettes Studio Jovial offers: Wedding Photography and Videography, Family Events Photography & Videography like Birthdays, Baptism, Baby Shower, etc. Capturing moments from today…Creating memories for a lifetime! Photos you’ll love….with memories for life! STUDIO JOVIAL - FRAME YOUR LIFE! Studio Jovial Rruga Don Gjon Buzuku, Lagjja 5, nr. 6 Korçë A Studio Jovial Rruga Don Gjon Buzuku, Lagjja 5, nr. 6 Korçë AL-06 AL 7002 albertnaci@gmail.com +355682274623 https://studiojovial.com/? none Y 1633938048 0 N N N 13 253252000 0 0 0 0 0 0 0 0 0 0 0 0 0.00 month 12.20 0 0.00 1