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/27987/%' 
  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.00241

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "44.84"
    },
    "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": 38,
            "rows_produced_per_join": 0,
            "filtered": "1.00",
            "index_condition": "(`maniamall_cscart`.`cscart_categories`.`id_path` like '290/27987/%')",
            "cost_info": {
              "read_cost": "43.97",
              "eval_cost": "0.04",
              "prefix_cost": "44.01",
              "data_read_per_join": "1009"
            },
            "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.38",
              "eval_cost": "0.04",
              "prefix_cost": "44.42",
              "data_read_per_join": "1K"
            },
            "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.38",
              "eval_cost": "0.04",
              "prefix_cost": "44.84",
              "data_read_per_join": "659"
            },
            "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
27988 27987 290/27987/27988 bare Portbagaj Alfa Romeo 90 A 1 bare-portbagaj-alfa-romeo 290/27987
27989 27987 290/27987/27989 bare Portbagaj Audi 90 A 1 bare-portbagaj-audi-ro 290/27987
28001 27987 290/27987/28001 bare Portbagaj Bmw 90 A 1 bare-portbagaj-bmw 290/27987
28002 27987 290/27987/28002 bare Portbagaj Cadillac 90 A 1 bare-portbagaj-cadillac 290/27987
28003 27987 290/27987/28003 bare Portbagaj Chevrolet 90 A 1 bare-portbagaj-chevrolet 290/27987
28004 27987 290/27987/28004 bare Portbagaj Chrysler 90 A 1 bare-portbagaj-chrysler 290/27987
28005 27987 290/27987/28005 bare Portbagaj Citroen 90 A 1 bare-portbagaj-citroen-ro 290/27987
28006 27987 290/27987/28006 bare Portbagaj Daewoo 90 A 1 bare-portbagaj-daewoo 290/27987
28025 27987 290/27987/28025 bare Portbagaj Daihatsu 90 A 1 bare-portbagaj-daihatsu 290/27987
28007 27987 290/27987/28007 bare Portbagaj Dodge 90 A 1 bare-portbagaj-dodge 290/27987
28008 27987 290/27987/28008 bare Portbagaj Fiat 90 A 1 bare-portbagaj-fiat 290/27987
28009 27987 290/27987/28009 bare Portbagaj Ford 90 A 1 bare-portbagaj-ford-ro 290/27987
28010 27987 290/27987/28010 bare Portbagaj Honda 90 A 1 bare-portbagaj-honda-ro 290/27987
28011 27987 290/27987/28011 bare Portbagaj Hyundai 90 A 1 bare-portbagaj-hyundai-ro-2 290/27987
28026 27987 290/27987/28026 bare Portbagaj Jaguar 90 A 1 bare-portbagaj-jaguar 290/27987
28012 27987 290/27987/28012 bare Portbagaj Jeep 90 A 1 bare-portbagaj-jeep 290/27987
28013 27987 290/27987/28013 bare Portbagaj Kia 90 A 1 bare-portbagaj-kia 290/27987
28027 27987 290/27987/28027 bare Portbagaj Lada 90 A 1 bare-portbagaj-lada 290/27987
28028 27987 290/27987/28028 bare Portbagaj Lancia 90 A 1 bare-portbagaj-lancia 290/27987
28014 27987 290/27987/28014 bare Portbagaj Land Rover 90 A 1 bare-portbagaj-land-rover 290/27987
28029 27987 290/27987/28029 bare Portbagaj Lexus 90 A 1 bare-portbagaj-lexus 290/27987
28015 27987 290/27987/28015 bare Portbagaj Mazda 90 A 1 bare-portbagaj-mazda 290/27987
28016 27987 290/27987/28016 bare Portbagaj Mercedes 90 A 1 bare-portbagaj-mercedes 290/27987
28017 27987 290/27987/28017 bare Portbagaj Mitsubishi 90 A 1 bare-portbagaj-mitsubishi 290/27987
28018 27987 290/27987/28018 bare Portbagaj Nissan 90 A 1 bare-portbagaj-nissan 290/27987
28019 27987 290/27987/28019 bare Portbagaj Opel 90 A 1 bare-portbagaj-opel-ro 290/27987
27990 27987 290/27987/27990 bare Portbagaj Peugeot 90 A 1 bare-portbagaj-peugeot-ro 290/27987
27991 27987 290/27987/27991 bare Portbagaj Pontiac 90 A 1 bare-portbagaj-pontiac 290/27987
27992 27987 290/27987/27992 bare Portbagaj Renault 90 A 1 bare-portbagaj-renault-ro 290/27987
27993 27987 290/27987/27993 bare Portbagaj Saab 90 A 1 bare-portbagaj-saab 290/27987
27994 27987 290/27987/27994 bare Portbagaj Seat 90 A 1 bare-portbagaj-seat-ro 290/27987
27995 27987 290/27987/27995 bare Portbagaj Skoda 90 A 1 bare-portbagaj-skoda 290/27987
27996 27987 290/27987/27996 bare Portbagaj Ssangyong 90 A 1 bare-portbagaj-ssangyong 290/27987
28030 27987 290/27987/28030 bare Portbagaj Subaru 90 A 1 bare-portbagaj-subaru 290/27987
27997 27987 290/27987/27997 bare Portbagaj Suzuki 90 A 1 bare-portbagaj-suzuki 290/27987
27998 27987 290/27987/27998 bare Portbagaj Toyota 90 A 1 bare-portbagaj-toyota 290/27987
28000 27987 290/27987/28000 bare Portbagaj Volvo 90 A 1 bare-portbagaj-volvo 290/27987
27999 27987 290/27987/27999 bare Portbagaj Vw 90 A 1 bare-portbagaj-vw 290/27987