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.company_id, 
  cscart_seo_names.name as seo_name, 
  cscart_seo_names.path as seo_path, 
  cscart_categories.ab__lc_catalog_image_control, 
  cscart_categories.age_verification, 
  cscart_categories.age_limit, 
  cscart_category_descriptions.age_warning_message 
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' 
  AND cscart_seo_names.company_id = cscart_categories.company_id 
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 '328/%' 
  AND cscart_categories.company_id = 1 
ORDER BY 
  cscart_categories.is_trash asc, 
  cscart_categories.position asc, 
  cscart_category_descriptions.category asc

Query time 0.00164

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "35.19"
    },
    "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": 24,
            "rows_produced_per_join": 0,
            "filtered": "1.00",
            "index_condition": "(`eshopuga_upgr_4122`.`cscart_categories`.`id_path` like '328/%')",
            "cost_info": {
              "read_cost": "34.56",
              "eval_cost": "0.05",
              "prefix_cost": "34.61",
              "data_read_per_join": "658"
            },
            "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"
            ],
            "attached_condition": "((`eshopuga_upgr_4122`.`cscart_categories`.`company_id` = 1) and ((`eshopuga_upgr_4122`.`cscart_categories`.`usergroup_ids` = '') or find_in_set(0,`eshopuga_upgr_4122`.`cscart_categories`.`usergroup_ids`) or find_in_set(1,`eshopuga_upgr_4122`.`cscart_categories`.`usergroup_ids`)) and (`eshopuga_upgr_4122`.`cscart_categories`.`status` = 'A'))"
          }
        },
        {
          "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": [
              "eshopuga_upgr_4122.cscart_categories.category_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.24",
              "eval_cost": "0.05",
              "prefix_cost": "34.90",
              "data_read_per_join": "817"
            },
            "used_columns": [
              "category_id",
              "lang_code",
              "category",
              "age_warning_message"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_seo_names",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY",
              "dispatch"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "object_id",
              "type",
              "dispatch",
              "lang_code",
              "company_id"
            ],
            "key_length": "210",
            "ref": [
              "eshopuga_upgr_4122.cscart_categories.category_id",
              "const",
              "const",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.24",
              "eval_cost": "0.05",
              "prefix_cost": "35.19",
              "data_read_per_join": "416"
            },
            "used_columns": [
              "name",
              "object_id",
              "company_id",
              "type",
              "dispatch",
              "path",
              "lang_code"
            ]
          }
        }
      ]
    }
  }
}

Result

category_id parent_id id_path category position status company_id seo_name seo_path ab__lc_catalog_image_control age_verification age_limit age_warning_message
349 335 328/335/349 Birthdays 10 A 1 birthdays 328/335 none N 0
335 328 328/335 Celebrations 10 A 1 celebrations 328 none N 0
337 336 328/336/337 Christmas 10 A 1 christmas 328/336 none N 0
350 335 328/335/350 Anniversary 20 A 1 anniversary 328/335 none N 0
338 336 328/336/338 Mother's Day 20 A 1 mothers-day 328/336 none N 0
339 336 328/336/339 Father's Day 30 A 1 fathers-day 328/336 none N 0
351 335 328/335/351 Pregnancy 30 A 1 pregnancy 328/335 none N 0
352 335 328/335/352 New Baby 40 A 1 new-baby 328/335 none N 0
340 336 328/336/340 Thanksgiving 40 A 1 thanksgiving 328/336 none N 0
341 336 328/336/341 National Days 50 A 1 national-days 328/336 none N 0
353 335 328/335/353 New Home 50 A 1 new-home 328/335 none N 0
354 335 328/335/354 Christening 60 A 1 christening 328/335 none N 0
342 336 328/336/342 New Year 60 A 1 newyear 328/336 none N 0
343 336 328/336/343 Eid & Diwali 70 A 1 eid-and-diwali 328/336 none N 0
355 335 328/335/355 New Job/Contract 70 A 1 new-job-contract 328/335 none N 0
356 335 328/335/356 Confirmation 80 A 1 confirmation 328/335 none N 0
344 336 328/336/344 Saints Day 80 A 1 saints-day 328/336 none N 0
345 336 328/336/345 Easter Holidays 90 A 1 easter-holidays 328/336 none N 0
357 335 328/335/357 Holy Communion 90 A 1 holy-communion 328/335 none N 0
358 335 328/335/358 Just Because 100 A 1 just-because 328/335 none N 0
347 336 328/336/347 Halloween 110 A 1 halloween 328/336 none N 0
336 328 328/336 Seasonal 150 A 1 seasonal 328 none N 0