SELECT 
  cscart_categories.category_id, 
  cscart_categories.parent_id, 
  cscart_categories.id_path, 
  cscart_category_descriptions.category, 
  cscart_categories.position, 
  cscart_categories.status, 
  cscart_categories.company_id, 
  cscart_categories.storefront_id, 
  cscart_seo_names.name as seo_name, 
  cscart_seo_names.path as seo_path, 
  cscart_categories.ab__lc_catalog_image_control 
FROM 
  cscart_categories 
  LEFT JOIN cscart_category_descriptions ON cscart_categories.category_id = cscart_category_descriptions.category_id 
  AND cscart_category_descriptions.lang_code = 'en' 
  LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = cscart_categories.category_id 
  AND cscart_seo_names.type = 'c' 
  AND cscart_seo_names.dispatch = '' 
  AND cscart_seo_names.lang_code = 'en' 
WHERE 
  1 = 1 
  AND (
    cscart_categories.usergroup_ids = '' 
    OR FIND_IN_SET(
      0, cscart_categories.usergroup_ids
    ) 
    OR FIND_IN_SET(
      1, cscart_categories.usergroup_ids
    )
  ) 
  AND cscart_categories.status IN ('A') 
  AND cscart_categories.id_path LIKE '372/%' 
  AND cscart_categories.category_id != 264 
  AND cscart_categories.parent_id != 264 
  AND cscart_categories.storefront_id IN (0, 1) 
ORDER BY 
  cscart_categories.is_trash asc, 
  cscart_categories.position asc, 
  cscart_category_descriptions.category asc

Query time 0.00178

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "24.15"
    },
    "ordering_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_categories",
            "access_type": "range",
            "possible_keys": [
              "PRIMARY",
              "c_status",
              "parent",
              "id_path",
              "p_category_id"
            ],
            "key": "id_path",
            "used_key_parts": [
              "id_path"
            ],
            "key_length": "767",
            "rows_examined_per_scan": 26,
            "rows_produced_per_join": 0,
            "filtered": "2.00",
            "index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`cscart_categories`.`id_path` like '372/%')",
            "cost_info": {
              "read_cost": "11.91",
              "eval_cost": "0.05",
              "prefix_cost": "11.96",
              "data_read_per_join": "1K"
            },
            "used_columns": [
              "category_id",
              "parent_id",
              "id_path",
              "company_id",
              "storefront_id",
              "usergroup_ids",
              "status",
              "position",
              "is_trash",
              "ab__lc_catalog_image_control"
            ],
            "attached_condition": "(((`softwarepirmam_hewadelivard_cscart_4`.`cscart_categories`.`usergroup_ids` = '') or (0 <> find_in_set(0,`softwarepirmam_hewadelivard_cscart_4`.`cscart_categories`.`usergroup_ids`)) or (0 <> find_in_set(1,`softwarepirmam_hewadelivard_cscart_4`.`cscart_categories`.`usergroup_ids`))) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_categories`.`status` = 'A') and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_categories`.`category_id` <> 264) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_categories`.`parent_id` <> 264) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_categories`.`storefront_id` in (0,1)))"
          }
        },
        {
          "table": {
            "table_name": "cscart_category_descriptions",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "category_id",
              "lang_code"
            ],
            "key_length": "9",
            "ref": [
              "softwarepirmam_hewadelivard_cscart_4.cscart_categories.category_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.13",
              "eval_cost": "0.05",
              "prefix_cost": "12.14",
              "data_read_per_join": "1K"
            },
            "used_columns": [
              "category_id",
              "lang_code",
              "category"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_seo_names",
            "access_type": "ref",
            "possible_keys": [
              "PRIMARY",
              "dispatch"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "object_id",
              "type",
              "dispatch",
              "lang_code"
            ],
            "key_length": "206",
            "ref": [
              "softwarepirmam_hewadelivard_cscart_4.cscart_categories.category_id",
              "const",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 66,
            "rows_produced_per_join": 34,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "8.58",
              "eval_cost": "3.43",
              "prefix_cost": "24.15",
              "data_read_per_join": "58K"
            },
            "used_columns": [
              "name",
              "object_id",
              "type",
              "dispatch",
              "path",
              "lang_code"
            ]
          }
        }
      ]
    }
  }
}

Result

category_id parent_id id_path category position status company_id storefront_id seo_name seo_path ab__lc_catalog_image_control
467 466 372/466/467 Air Fryers 10 A 0 0 air-fryers 372/466 none
462 461 372/461/462 Air Purifiers 10 A 0 0 air-purifiers 372/461 none
556 552 372/552/556 Coffee Machine 10 A 0 0 coffee-machine 372/552 none
593 592 372/572/592/593 Freestanding Ranges 10 A 0 0 freestanding-ranges 372/572/592 none
560 557 372/552/557/560 Ground Coffee 10 A 0 0 ground-coffee 372/552/557 none
582 572 372/572/582 Refrigerator 10 A 0 0 refrigerator 372/572 none
459 384 372/384/459 Smart Robot Vacuums 10 A 0 0 smart-robot-vacuums 372/384 none
549 552 372/552/549 Soda Machine 10 A 0 0 soda-machine 372/552 none
453 372 372/453 TV & Theatre 10 A 0 0 tv-and-theatre 372 none
454 453 372/453/454 TVs 10 A 0 0 tvs 372/453 none
435 434 372/434/435 Xiaomi 10 A 0 0 xiaomi 372/434 none
461 372 372/461 Air Care 20 A 0 0 air-care 372 none
463 461 372/461/463 Air Humidifiers 20 A 0 0 air-humidifiers 372/461 none
561 557 372/552/557/561 Capsules 20 A 0 0 capsules 372/552/557 none
557 552 372/552/557 Coffee Beans & Capsules 20 A 0 0 beans-and-capsules 372/552 none
594 592 372/572/592/594 Cooktops 20 A 0 0 cooktops 372/572/592 none
460 384 372/384/460 Cordless Vacuums 20 A 0 0 cordless-vacuums 372/384 none
573 466 372/466/573 Grillers & Toasters 20 A 0 0 grillers-and-toasters 372/466 none
455 453 372/453/455 Sound Bars 20 A 0 0 sound-bar 372/453 none
550 552 372/552/550 Syrup & Flavours 20 A 0 0 syrup 372/552 none
551 552 372/552/551 CO2 & Accessories 30 A 0 0 co2-and-accessories 372/552 none
465 566 372/566/465 Cooling Fans 30 A 0 0 cooling-fans 372/566 none
584 572 372/572/584 Dish Washers 30 A 0 0 dish-washers 372/572 none
598 384 372/384/598 Handheld Vacuums 30 A 0 0 handheld-vacuums 372/384 none
574 466 372/466/574 Mixers 30 A 0 0 mixers 372/466 none
384 372 372/384 Vacuums 30 A 0 0 vacuums 372 none
583 372 372/583 Washing Machine and Dryers 30 A 0 0 washing-machin-and-dryers 372 none
595 566 372/566/595 Air Conditioners (AC) 40 A 0 0 air-conditioners-ac 372/566 none
592 572 372/572/592 Cooking Ranges 40 A 0 0 cooking-ranges 372/572 none
575 466 372/466/575 Kettle 40 A 0 0 kettle 372/466 none
487 453 372/453/487 Projectors 40 A 0 0 projectors 372/453 none
596 566 372/566/596 Air Coolers 50 A 0 0 air-coolers 372/566 none
576 466 372/466/576 Deep Fryers 50 A 0 0 deep-fryers 372/466 none
572 372 372/572 Major Kitchen Appliances 50 A 0 0 major-kitchen-appliances 372 none
599 572 372/572/599 Range Hoods 50 A 0 0 range-hoods 372/572 none
654 572 372/572/654 Freezers 60 A 0 0 freezers 372/572 none
597 566 372/566/597 Heaters 60 A 0 0 heaters 372/566 none
579 466 372/466/579 Microwave & Ovens 60 A 0 0 microwave-and-ovens 372/466 none
466 372 372/466 Small Kitchen Appliances 60 A 0 0 kitchen-appliances 372 none
580 466 372/466/580 Egg Boiler 70 A 0 0 egg-boiler 372/466 none
552 372 372/552 Coffee & Beverages 80 A 0 0 coffee 372 none
581 466 372/466/581 Mini Refrigerator 80 A 0 0 mini-refrigerator 372/466 none
566 372 372/566 Coolers & Heaters 90 A 0 0 coolers-and-heaters 372 none
655 466 372/466/655 Ice Maker 90 A 0 0 ice-maker 372/466 none
464 461 372/461/464 Accessories & Filters 100 A 0 0 accessories-and-filters 372/461 none
587 372 372/587 Ironing 100 A 0 0 ironing 372 none