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_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 = 'ro' 
  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 = 'ro' 
  AND cscart_seo_names.company_id = cscart_categories.company_id 
WHERE 
  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 '290/8326/%' 
  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.00196

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "18.00"
    },
    "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": 15,
            "rows_produced_per_join": 0,
            "filtered": "1.00",
            "index_condition": "(`maniamall_cscart`.`cscart_categories`.`id_path` like '290/8326/%')",
            "cost_info": {
              "read_cost": "17.66",
              "eval_cost": "0.02",
              "prefix_cost": "17.68",
              "data_read_per_join": "398"
            },
            "used_columns": [
              "category_id",
              "parent_id",
              "id_path",
              "company_id",
              "usergroup_ids",
              "status",
              "position",
              "is_trash"
            ],
            "attached_condition": "((`maniamall_cscart`.`cscart_categories`.`company_id` = 1) and ((`maniamall_cscart`.`cscart_categories`.`usergroup_ids` = '') or (0 <> find_in_set(0,`maniamall_cscart`.`cscart_categories`.`usergroup_ids`)) or (0 <> find_in_set(1,`maniamall_cscart`.`cscart_categories`.`usergroup_ids`))) and (`maniamall_cscart`.`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": [
              "maniamall_cscart.cscart_categories.category_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.15",
              "eval_cost": "0.02",
              "prefix_cost": "17.84",
              "data_read_per_join": "465"
            },
            "used_columns": [
              "category_id",
              "lang_code",
              "category"
            ]
          }
        },
        {
          "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": [
              "maniamall_cscart.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.15",
              "eval_cost": "0.02",
              "prefix_cost": "18.00",
              "data_read_per_join": "260"
            },
            "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
8327 8326 290/8326/8327 Canistre Combustibil 90 A 1 canistre-combustibil-ro 290/8326
8376 8326 290/8326/8376 Coliere Fasete 90 A 1 coliere-fasete 290/8326
8393 8326 290/8326/8393 Cuplaje Rapide Pneumatice 90 A 1 cuplaje-rapide-pneumatice 290/8326
8403 8326 290/8326/8403 Densimetru Tester Antigel Si Acid Baterie 90 A 1 densimetru-tester-antigel-si-acid-baterie 290/8326
8444 8326 290/8326/8444 Gresoare Auto 90 A 1 gresoare-auto 290/8326
8454 8326 290/8326/8454 Husa Depozitat Anvelope 90 A 1 husa-depozitat-anvelope 290/8326
8432 8326 290/8326/8432 Huse Protectie Service 90 A 1 huse-protectie-service 290/8326
8497 8326 290/8326/8497 Manusi De Protectie 90 A 1 manusi-de-protectie 290/8326
8588 8326 290/8326/8588 O-ringuri Oringuri Auto 90 A 1 o-ringuri-oringuri-auto 290/8326
8503 8326 290/8326/8503 Palnie Combustibil 90 A 1 palnie-combustibil 290/8326
8331 8326 290/8326/8331 Pompa Gresare Decalimetru 90 A 1 pompa-gresare-decalimetru 290/8326
8423 8326 290/8326/8423 Pompa Scos Ulei Din Butoi 90 A 1 pompa-scos-ulei-din-butoi 290/8326
8539 8326 290/8326/8539 Rampe Auto 90 A 1 rampe-auto 290/8326
8373 8326 290/8326/8373 Truse Service Auto 90 A 1 truse-service-auto 290/8326
8664 8326 290/8326/8664 Vas Golire Ulei 90 A 1 vas-golire-ulei 290/8326