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

Query time 0.00007

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": "const",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "4",
          "used_key_parts": ["plan_id"],
          "ref": ["const"],
          "rows": 1,
          "filtered": 100
        }
      }
    ]
  }
}

Result

company_id lang_code company_description terms 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 suspend_date grace_period_start last_time_suspended last_debt_notification_time stripe_connect_account_id tax_number stripe_connect_account_type registered_from_storefront_id quaderno_id quaderno_access_token quaderno_refresh_token minimum_order_total paypal_commerce_platform_account_id saved_shippings_state price periodicity commission products_limit revenue_limit vendor_store categories storefronts
64 en <h3>Testovaci vendor ucet </h3> <p><span class="Yjhzub">Lorem ipsum dolor sit amet</span>, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit animit est laborum.</p><p><br /></p><p><img src="https://ebonza.eu/images/companies/64/2.png?1779869752450" alt="2.png?1779869752450" /><br /></p> <p><br /></p> <p><img src="https://ebonza.eu/images/companies/64/ChatGPT%20Image%20Jan%2023%2C%202026%2C%2007_34_51%20PM.png?1779869835028" alt="ChatGPT%20Image%20Jan%2023%2C%202026%2C%2007_34_51%20PM.png?1779869835028" /></p> <div class="video-container"><iframe style="width:500px;height:281px;" src="//www.youtube.com/embed/4jjnUAXIcQY" frameborder="0" allowfullscreen=""></iframe></div> <p><br /></p> B2Bonza Test Vendor Třebíčska 1844/24 Humenne A B2Bonza Test Vendor Třebíčska 1844/24 Humenne SK 06601 sneakerstown@seznam.cz +421(901)711-066 www.b2bonza.com none Y 1749992053 52,46,54 0 a:4:{s:14:"company_fields";a:10:{i:37;s:6:"Martin";i:38;s:6:"Terpak";i:66;s:11:"Test Vendor";i:52;s:8:"34569197";i:77;s:0:"";i:78;s:0:"";i:71;s:2:"40";i:70;s:2:"35";i:69;s:2:"13";i:67;s:1:"1";}s:15:"admin_firstname";s:6:"Martin";s:14:"admin_lastname";s:6:"Terpak";s:6:"fields";a:0:{}} N N N 17 0 0 0 0 acct_1RaGJUQZ1vcS5kzm S 10 109641 t7KYamtfkLXgoD_oumaLQ_n67ZJx3Et7J1r131zgRmo p9bl-KQWFRb-UGizIl7Bm7iZZ8lOCpp0f3DQVSzFKLM 150 0.00 onetime 0.00 0 0.00 1 24558,24584,24602,24628,24667,24709,24731,24766,24799,24823,24841,24875,24876,24877,24559,24567,24574,24579,24878,24879,24880,24881,24882,24883,24884,24885,24886,24887,24888,24889,24890,24891,24892,24893,24894,24895,24896,24897,24898,24899,24900,24901,24902,24903,24904,24905,24906,24907,24908,24909,24910,24911,24912,24913,24914,24915,24916,24917,24918,24919,24560,24561,24562,24563,24564,24565,24566,24568,24569,24570,24571,24572,24573,24575,24576,24577,24578,24580,24581,24582,24583,24585,24586,24587,24588,24589,24590,24591,24592,24593,24594,24595,24596,24597,24598,24599,24600,24601,24603,24604,24605,24606,24607,24608,24609,24610,24611,24612,24613,24614,24615,24616,24617,24618,24619,24620,24621,24622,24623,24624,24625,24626,24627,24629,24630,24631,24632,24633,24634,24635,24636,24637,24638,24639,24640,24641,24642,24643,24644,24645,24646,24647,24648,24649,24650,24651,24652,24653,24654,24655,24656,24657,24658,24659,24660,24661,24662,24663,24664,24665,24666,24668,24669,24670,24671,24672,24673,24674,24675,24676,24677,24678,24679,24680,24681,24682,24683,24684,24685,24686,24687,24688,24689,24690,24691,24692,24693,24694,24695,24696,24697,24698,24699,24700,24701,24702,24703,24704,24705,24706,24707,24708,24710,24711,24712,24713,24714,24715,24716,24717,24718,24719,24720,24721,24722,24723,24724,24725,24726,24727,24728,24729,24730,24732,24733,24734,24735,24736,24737,24738,24739,24740,24741,24742,24743,24744,24745,24746,24747,24748,24749,24750,24751,24752,24753,24754,24755,24756,24757,24758,24759,24760,24761,24762,24763,24764,24765,24767,24768,24769,24770,24771,24772,24773,24774,24775,24776,24777,24778,24779,24780,24781,24782,24783,24784,24785,24786,24787,24788,24789,24790,24791,24792,24793,24794,24795,24796,24797,24798,24800,24801,24802,24803,24804,24805,24806,24807,24808,24809,24810,24811,24812,24813,24814,24815,24816,24817,24818,24819,24820,24821,24822,24824,24825,24826,24827,24828,24829,24830,24831,24832,24833,24834,24835,24836,24837,24838,24839,24840,24842,24843,24844,24845,24846,24847,24848,24849,24850,24851,24852,24853,24854,24855,24856,24857,24858,24859,24860,24861,24862,24863,24864,24865,24866,24867,24868,24869,24870,24871,24872,24873,24874,24920,24921,24922,24923,24924,24925,24948,24949,24950,24951,24952,24953,24954,24955,24956,24957,24958,24959,24960,24962,24963,24964,24965,24966,24967,24968,24969,24970,24971,24972,24973,24974,24975,24976,24977,24978,24979,24980,24981,24982,24983,24984,24985,24986,24987,24990,24991 15