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, 
  cscart_categories.ab__fn_category_status, 
  cscart_categories.ab__fn_label_color, 
  cscart_categories.ab__fn_label_background, 
  cscart_categories.ab__fn_use_origin_image, 
  cscart_category_descriptions.ab__fn_label_text, 
  cscart_category_descriptions.ab__fn_label_show, 
  cscart_categories.age_verification, 
  cscart_categories.age_limit, 
  cscart_category_descriptions.age_warning_message, 
  cscart_category_descriptions.ab__custom_category_h1 
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.parent_id IN (1552) 
  AND cscart_categories.id_path LIKE '1552/%' 
  AND cscart_categories.category_id != 414 
  AND cscart_categories.parent_id != 414 
  AND cscart_categories.storefront_id IN (0, 3) 
ORDER BY 
  cscart_categories.is_trash asc, 
  cscart_categories.position asc, 
  cscart_category_descriptions.category asc

Query time 0.00196

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "22.60"
    },
    "ordering_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_categories",
            "access_type": "ref",
            "possible_keys": [
              "PRIMARY",
              "c_status",
              "parent",
              "id_path",
              "p_category_id"
            ],
            "key": "parent",
            "used_key_parts": [
              "parent_id"
            ],
            "key_length": "3",
            "ref": [
              "const"
            ],
            "rows_examined_per_scan": 28,
            "rows_produced_per_join": 0,
            "filtered": "0.18",
            "cost_info": {
              "read_cost": "7.00",
              "eval_cost": "0.01",
              "prefix_cost": "9.80",
              "data_read_per_join": "181"
            },
            "used_columns": [
              "category_id",
              "parent_id",
              "id_path",
              "company_id",
              "usergroup_ids",
              "status",
              "position",
              "age_verification",
              "age_limit",
              "is_trash",
              "ab__lc_catalog_image_control",
              "ab__fn_category_status",
              "ab__fn_label_color",
              "ab__fn_label_background",
              "ab__fn_use_origin_image",
              "storefront_id"
            ],
            "attached_condition": "(((`s2cart`.`cscart_categories`.`usergroup_ids` = '') or (0 <> find_in_set(0,`s2cart`.`cscart_categories`.`usergroup_ids`)) or (0 <> find_in_set(1,`s2cart`.`cscart_categories`.`usergroup_ids`))) and (`s2cart`.`cscart_categories`.`status` = 'A') and (`s2cart`.`cscart_categories`.`id_path` like '1552/%') and (`s2cart`.`cscart_categories`.`category_id` <> 414) and (`s2cart`.`cscart_categories`.`storefront_id` in (0,3)))"
          }
        },
        {
          "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": [
              "s2cart.cscart_categories.category_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.01",
              "eval_cost": "0.01",
              "prefix_cost": "9.82",
              "data_read_per_join": "324"
            },
            "used_columns": [
              "category_id",
              "lang_code",
              "category",
              "age_warning_message",
              "ab__custom_category_h1",
              "ab__fn_label_text",
              "ab__fn_label_show"
            ]
          }
        },
        {
          "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": [
              "s2cart.cscart_categories.category_id",
              "const",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 696,
            "rows_produced_per_join": 34,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "9.30",
              "eval_cost": "3.48",
              "prefix_cost": "22.60",
              "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 ab__fn_category_status ab__fn_label_color ab__fn_label_background ab__fn_use_origin_image ab__fn_label_text ab__fn_label_show age_verification age_limit age_warning_message ab__custom_category_h1
1870 1552 1552/1870 LED Tube Light 0 A 0 0 led-tube-light 1552 none Y #ffffff #333333 N N N 0
1854 1552 1552/1854 LED Ceiling Light 1 A 0 0 led-ceiling-light 1552 none Y #ffffff #333333 N N N 0
1852 1552 1552/1852 LED Bulbs 2 A 0 0 led-bulbs 1552 none Y #ffffff #333333 N N N 0
1603 1552 1552/1603 Garden Lights 3 A 0 0 garden-lights 1552 none Y #ffffff #333333 N N N 0
1624 1552 1552/1624 Industrial Lights 4 A 0 0 industrial-lights 1552 none Y #ffffff #333333 N N N 0
1556 1552 1552/1556 Decorative Lights 5 A 0 0 decorative-lights 1552 none Y #ffffff #333333 N N N 0
1626 1552 1552/1626 Inground and Underwater Light 6 A 0 0 inground-and-underwater-light 1552 none Y #ffffff #333333 N N N 0
1553 1552 1552/1553 Conventional Lighting 7 A 0 0 conventional-lighting 1552 none Y #ffffff #333333 N N N 0
1849 1552 1552/1849 LED Accessories 7 A 0 0 led-accessories 1552 none Y #ffffff #333333 N N N 0
1612 1552 1552/1612 Hand Torch and Lamps 8 A 0 0 hand-torch-and-lamps 1552 none Y #ffffff #333333 N N N 0
1850 1552 1552/1850 LED Bay Lights 8 A 0 0 led-bay-lights 1552 none Y #ffffff #333333 N N N 0
1851 1552 1552/1851 LED Bollard Light 9 A 0 0 led-bollard-light 1552 none Y #ffffff #333333 N N N 0
1853 1552 1552/1853 LED Canopy Light 11 A 0 0 led-canopy-light 1552 none Y #ffffff #333333 N N N 0
1855 1552 1552/1855 LED Combo 13 A 0 0 led-combo 1552 none Y #ffffff #333333 N N N 0
1856 1552 1552/1856 LED Diodes 14 A 0 0 led-diodes 1552 none Y #ffffff #333333 N N N 0
1858 1552 1552/1858 LED Down Light 15 A 0 0 led-down-light 1552 none Y #ffffff #333333 N N N 0
1859 1552 1552/1859 LED Emergency Light 16 A 0 0 led-emergency-light 1552 none Y #ffffff #333333 N N N 0
1860 1552 1552/1860 LED Exit Signage 17 A 0 0 led-exit-signage 1552 none Y #ffffff #333333 N N N 0
1861 1552 1552/1861 LED Filament Bulbs 18 A 0 0 led-filament-bulbs 1552 none Y #ffffff #333333 N N N 0
1862 1552 1552/1862 LED Flood and Outdoor Lights 19 A 0 0 led-flood-and-outdoor-lights 1552 none Y #ffffff #333333 N N N 0
1863 1552 1552/1863 LED Flood Lights 20 A 0 0 led-flood-lights 1552 none Y #ffffff #333333 N N N 0
1864 1552 1552/1864 LED Footlight 21 A 0 0 led-footlight 1552 none Y #ffffff #333333 N N N 0
1865 1552 1552/1865 LED Panel Light 22 A 0 0 led-panel-light 1552 none Y #ffffff #333333 N N N 0
1866 1552 1552/1866 LED Post Lamp 23 A 0 0 led-post-lamp 1552 none Y #ffffff #333333 N N N 0
1867 1552 1552/1867 LED Spot Light 24 A 0 0 led-spot-light 1552 none Y #ffffff #333333 N N N 0
1868 1552 1552/1868 LED Street Lights 25 A 0 0 led-street-lights 1552 none Y #ffffff #333333 N N N 0
1869 1552 1552/1869 LED Track Lights 26 A 0 0 led-track-lights 1552 none Y #ffffff #333333 N N N 0
1872 1552 1552/1872 LED Wall Lights 28 A 0 0 led-wall-lights 1552 none Y #ffffff #333333 N N N 0
1873 1552 1552/1873 Lighting Accessories 29 A 0 0 lighting-accessories 1552 none Y #ffffff #333333 N N N 0