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_categories.product_count, 
  cscart_seo_names.name as seo_name, 
  cscart_seo_names.path as seo_path 
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 '5742/5811/6042/%' 
  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.01074

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "37.21"
    },
    "ordering_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_categories",
            "access_type": "range",
            "possible_keys": [
              "c_status",
              "id_path"
            ],
            "key": "id_path",
            "used_key_parts": [
              "id_path"
            ],
            "key_length": "767",
            "rows_examined_per_scan": 25,
            "rows_produced_per_join": 0,
            "filtered": "2.00",
            "index_condition": "(`webmarco`.`cscart_categories`.`id_path` like '5742/5811/6042/%')",
            "cost_info": {
              "read_cost": "35.91",
              "eval_cost": "0.10",
              "prefix_cost": "36.01",
              "data_read_per_join": "2K"
            },
            "used_columns": [
              "category_id",
              "parent_id",
              "id_path",
              "company_id",
              "usergroup_ids",
              "status",
              "product_count",
              "position",
              "is_trash",
              "storefront_id"
            ],
            "attached_condition": "(((`webmarco`.`cscart_categories`.`usergroup_ids` = '') or find_in_set(0,`webmarco`.`cscart_categories`.`usergroup_ids`) or find_in_set(1,`webmarco`.`cscart_categories`.`usergroup_ids`)) and (`webmarco`.`cscart_categories`.`status` = 'A') and (`webmarco`.`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": [
              "webmarco.cscart_categories.category_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.50",
              "eval_cost": "0.10",
              "prefix_cost": "36.61",
              "data_read_per_join": "2K"
            },
            "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": [
              "webmarco.cscart_categories.category_id",
              "const",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.50",
              "eval_cost": "0.10",
              "prefix_cost": "37.21",
              "data_read_per_join": "868"
            },
            "used_columns": [
              "name",
              "object_id",
              "company_id",
              "type",
              "dispatch",
              "path",
              "lang_code"
            ]
          }
        }
      ]
    }
  }
}

Result

category_id parent_id id_path category position status company_id storefront_id product_count seo_name seo_path
6051 6042 5742/5811/6042/6051 Camera Accessory Sets 10 A 0 0 0 camera-accessory-sets 5742/5811/6042
6057 6042 5742/5811/6042/6057 Camera Bags & Cases 20 A 0 0 0 camera-bags-and-cases 5742/5811/6042
6066 6042 5742/5811/6042/6066 Camera Body Replacement Panels & Doors 30 A 0 0 0 camera-body-replacement-panels-and-doors 5742/5811/6042
6073 6042 5742/5811/6042/6073 Camera Digital Backs 40 A 0 0 0 camera-digital-backs 5742/5811/6042
6081 6042 5742/5811/6042/6081 Camera Film 50 A 0 0 0 camera-film 5742/5811/6042
6095 6042 5742/5811/6042/6095 Camera Flash Accessories 60 A 0 0 0 camera-flash-accessories 5742/5811/6042
6097 6042 5742/5811/6042/6097 Camera Flashes 70 A 0 0 0 camera-flashes 5742/5811/6042
6106 6042 5742/5811/6042/6106 Camera Focus Devices 80 A 0 0 0 camera-focus-devices 5742/5811/6042
6112 6042 5742/5811/6042/6112 Camera Gears 90 A 0 0 0 camera-gears 5742/5811/6042
6120 6042 5742/5811/6042/6120 Camera Grips 100 A 0 0 0 camera-grips 5742/5811/6042
6131 6042 5742/5811/6042/6131 Camera Image Sensors 110 A 0 0 0 camera-image-sensors 5742/5811/6042
6136 6042 5742/5811/6042/6136 Camera Lens Zoom Units 120 A 0 0 0 camera-lens-zoom-units 5742/5811/6042
6146 6042 5742/5811/6042/6146 Camera Remote Controls 130 A 0 0 0 camera-remote-controls 5742/5811/6042
6157 6042 5742/5811/6042/6157 Camera Replacement Buttons & Knobs 140 A 0 0 0 camera-replacement-buttons-and-knobs 5742/5811/6042
6168 6042 5742/5811/6042/6168 Camera Replacement Screens & Displays 150 A 0 0 0 camera-replacement-screens-and-displays 5742/5811/6042
6175 6042 5742/5811/6042/6175 Camera Silencers & Sound Blimps 160 A 0 0 0 camera-silencers-and-sound-blimps 5742/5811/6042
6184 6042 5742/5811/6042/6184 Camera Stabilizers & Supports 170 A 0 0 0 camera-stabilizers-and-supports 5742/5811/6042
6188 6042 5742/5811/6042/6188 Camera Straps 180 A 0 0 0 camera-straps 5742/5811/6042
6197 6042 5742/5811/6042/6197 Camera Sun Hoods & Viewfinder Attachments 190 A 0 0 0 camera-sun-hoods-and-viewfinder-attachments 5742/5811/6042
6206 6042 5742/5811/6042/6206 Flash Brackets 200 A 0 0 1 flash-brackets 5742/5811/6042
6213 6042 5742/5811/6042/6213 On-Camera Monitors 210 A 0 0 0 on-camera-monitors 5742/5811/6042
6220 6042 5742/5811/6042/6220 Surveillance Camera Accessories 220 A 0 0 0 surveillance-camera-accessories 5742/5811/6042
6239 6042 5742/5811/6042/6239 Underwater Camera Housing Accessories 230 A 0 0 0 underwater-camera-housing-accessories 5742/5811/6042
6244 6042 5742/5811/6042/6244 Underwater Camera Housings 240 A 0 0 0 underwater-camera-housings 5742/5811/6042
6251 6042 5742/5811/6042/6251 Video Camera Lights 250 A 0 0 0 video-camera-lights 5742/5811/6042