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 = 'vi' 
  LEFT JOIN cscart_vendor_plans p ON p.plan_id = cscart_companies.plan_id 
WHERE 
  cscart_companies.company_id IN('287') 
ORDER BY 
  cscart_companies.company_id asc 
LIMIT 
  0, 1

Query time 0.00216

JSON explain

{
  "query_block": {
    "select_id": 1,
    "const_condition": "1",
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_companies",
          "access_type": "const",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "4",
          "used_key_parts": ["company_id"],
          "ref": ["const"],
          "rows": 1,
          "filtered": 100
        }
      },
      {
        "table": {
          "table_name": "cscart_company_descriptions",
          "access_type": "const",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "10",
          "used_key_parts": ["company_id", "lang_code"],
          "ref": ["const", "const"],
          "rows": 1,
          "filtered": 100
        }
      },
      {
        "table": {
          "table_name": "p",
          "access_type": "system",
          "possible_keys": ["PRIMARY"],
          "rows": 1,
          "filtered": 100
        }
      }
    ]
  }
}

Result

company_id lang_code company_description terms status company company_search address city city_id district_id ward_id 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 tax_number pre_moderation pre_moderation_edit pre_moderation_edit_vendors plan_id suspend_date grace_period_start last_time_suspended last_debt_notification_time paypal_commerce_platform_account_id stripe_connect_account_id stripe_connect_account_type sended_email_notify ghn_shop_id verify show_homepage messenger messenger_flag price periodicity commission products_limit revenue_limit vendor_store categories storefronts
287 vi <p>Deme Brewing được thành lập bởi những người yêu văn hóa đường phố và mong muốn đem đến trải nghiệm thưởng thức bia mới tại Việt Nam, bia thủ công (craft beer).</p> <p>Anh Nguyễn Hoàng Tùng - nhà đồng sáng lập thương hiệu Deme Brewing chia sẻ rằng loại bia này được nấu với công thức truyền thống của Mỹ và điều chỉnh phù hợp với khẩu vị của người Việt nên sản phẩm sẽ mang đến bất ngờ thú vị cho những tín đồ yêu bia.</p> <p>Sản phẩm được một nghệ nhân bia người Việt nấu tại Hóc Môn. Nguyên liệu được chọn lọc và lấy từ những nhà sản xuất có nguồn gốc ở khắp nơi trên thế giới. Vì thế, khi bạn thưởng thức bia của Deme Brewing, bạn sẽ cảm nhận không chỉ hương vị đậm đà, thơm ngon mà còn là tâm huyết của những con người yêu bia nơi đây.</p> <p>Ngoài ra, Deme Brewing là thương hiệu bia thủ công tiên phong trong hành trình sống xanh cùng thế giới. Sau khi sử dụng, bạn có thể gửi chai về thương hiệu để được tái chế. Đồng thời, nhãn dán trên chai cũng được làm từ chất liệu thân thiện với môi trường.</p> A Deme Brewing Deme Brewing 84/30 Đường Nguyễn Biểu, phường 1, Quận 5, Thành phố Hồ Chí Minh, Việt Nam 79 774 27310 tung.nguyen@demebrewing.com 0707285069 none Y 1638415643 4,3,7 0 N N N 1 0 0 0 0 0 0 N N A Y 0.00 onetime 10.00 0 0.00 1