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_category_descriptions.description 
FROM 
  cscart_categories 
  LEFT JOIN cscart_category_descriptions ON cscart_categories.category_id = cscart_category_descriptions.category_id 
  AND cscart_category_descriptions.lang_code = 'ru' 
  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 = 'ru' 
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 '566/%' 
  AND cscart_categories.category_id != 1 
  AND cscart_categories.parent_id != 1 
  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.00175

JSON explain

{
  "query_block": {
    "select_id": 1,
    "filesort": {
      "sort_key": "cscart_categories.is_trash, cscart_categories.position, cscart_category_descriptions.category",
      "temporary_table": {
        "table": {
          "table_name": "cscart_categories",
          "access_type": "ALL",
          "possible_keys": [
            "PRIMARY",
            "c_status",
            "parent",
            "id_path",
            "p_category_id"
          ],
          "rows": 445,
          "filtered": 64.04494476,
          "attached_condition": "(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` = 'A' and cscart_categories.id_path like '566/%' and cscart_categories.category_id <> 1 and cscart_categories.parent_id <> 1 and cscart_categories.storefront_id in (0,1)"
        },
        "table": {
          "table_name": "cscart_category_descriptions",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "9",
          "used_key_parts": ["category_id", "lang_code"],
          "ref": ["devmotorsbay.cscart_categories.category_id", "const"],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "trigcond(cscart_category_descriptions.lang_code = 'ru')"
        },
        "table": {
          "table_name": "cscart_seo_names",
          "access_type": "ref",
          "possible_keys": ["PRIMARY", "dispatch"],
          "key": "PRIMARY",
          "key_length": "206",
          "used_key_parts": ["object_id", "type", "dispatch", "lang_code"],
          "ref": [
            "devmotorsbay.cscart_categories.category_id",
            "const",
            "const",
            "const"
          ],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "trigcond(cscart_seo_names.`type` = 'c' and cscart_seo_names.dispatch = '' and cscart_seo_names.lang_code = 'ru')"
        }
      }
    }
  }
}

Result

category_id parent_id id_path category position status company_id storefront_id seo_name seo_path ab__lc_catalog_image_control description
261 260 566/260/261 G70 10 A 0 1 g70-ru 566/260 none
292 269 566/260/261/269/292 G70 2.0T 10 A 0 1 g70-2-0t-ru 566/260/261/269 none
267 261 566/260/261/267 G70 2017-2020 (IK) 10 A 0 1 g70-2017-2020-ik-ru 566/260/261 none
313 272 566/260/262/272/313 G80 2.5 Turbo 10 A 0 1 g80-2-5-turbo-ru 566/260/262/272 none
301 271 566/260/262/271/301 G80 3.3 GDI 10 A 0 1 none
319 273 566/260/263/273/319 G90 3.3 T-GDI 10 A 0 1 none
325 274 566/260/263/274/325 G90 3.3T 10 A 0 1 none
331 275 566/260/263/275/331 G90 3.5 Turbo 10 A 0 1 g90-3-5-turbo-ru 566/260/263/275 none
296 270 566/260/262/270/296 Genesis DH G330 10 A 0 1 none
336 354 566/260/264/354/336 GV60 Standard 10 A 0 1 gv60-standard-ru 566/260/264/354 none
339 355 566/260/265/355/339 GV70 2.5T 10 A 0 1 gv70-2-5t-ru 566/260/265/355 none
293 269 566/260/261/269/293 G70 2.0T 4WD 20 A 0 1 g70-2-0t-4wd-ru 566/260/261/269 none
268 261 566/260/261/268 G70 2020- (IK PE) 20 A 0 1 g70-2020-ik-pe-ru 566/260/261 none
262 260 566/260/262 G80 20 A 0 1 g80-ru 566/260 none
302 271 566/260/262/271/302 G80 3.3 T-GDI Sports 20 A 0 1 none
314 272 566/260/262/272/314 G80 3.5 Turbo 20 A 0 1 g80-3-5-turbo-ru 566/260/262/272 none
332 275 566/260/263/275/332 G90 3.5 Turbo AWD 20 A 0 1 g90-3-5-turbo-awd-ru 566/260/263/275 none
326 274 566/260/263/274/326 G90 3.8 20 A 0 1 none
320 273 566/260/263/273/320 G90 3.8 GDI 20 A 0 1 none
297 270 566/260/262/270/297 Genesis DH G380 20 A 0 1 none
337 354 566/260/264/354/337 GV60 Standard AWD 20 A 0 1 gv60-standard-awd-ru 566/260/264/354 none
269 261 566/260/261/269 G70 Shooting Brake 2020- (IK PE) 30 A 0 1 g70-shooting-brake-2020-ik-pe-ru 566/260/261 none
315 272 566/260/262/272/315 G80 2.5 Turbo AWD 30 A 0 1 g80-2-5-turbo-awd-ru 566/260/262/272 none
272 262 566/260/262/272 G80 2020- (RG3) 30 A 0 1 g80-2020-rg3-ru 566/260/262 none
303 271 566/260/262/271/303 G80 3.3 T-GDI US Version 30 A 0 1 none
263 260 566/260/263 G90 30 A 0 1 g90-ru 566/260 none
275 263 566/260/263/275 G90 2021- (RS4) 30 A 0 1 g90-2021-rs4-ru 566/260/263 none
321 273 566/260/263/273/321 G90 3.3 T-GDI AWD 30 A 0 1 none
327 274 566/260/263/274/327 G90 3.3T AWD 30 A 0 1 none
333 275 566/260/263/275/333 G90 3.5 Turbo e-S/C AWD 30 A 0 1 g90-3-5-turbo-e-s-c-awd-ru 566/260/263/275 none
298 270 566/260/262/270/298 Genesis DH 3.8 US Version 30 A 0 1 none
338 354 566/260/264/354/338 GV60 Performance AWD 30 A 0 1 gv60-performance-awd-ru 566/260/264/354 none
341 355 566/260/265/355/341 GV70 2.5T AWD 30 A 0 1 gv70-2-5t-awd-ru 566/260/265/355 none
287 268 566/260/261/268/287 G70 2.0T 4WD 40 A 0 1 g70-2-0t-4wd-ru 566/260/261/268 none
316 272 566/260/262/272/316 G80 3.5 Turbo AWD 40 A 0 1 g80-3-5-turbo-awd-ru 566/260/262/272 none
304 271 566/260/262/271/304 G80 3.8 GDI 40 A 0 1 none
334 275 566/260/263/275/334 G90 3.5 Turbo e-S/C AWD LWB 40 A 0 1 g90-3-5-turbo-e-s-c-awd-lwb-ru 566/260/263/275 none
328 274 566/260/263/274/328 G90 3.8 AWD 40 A 0 1 none
322 273 566/260/263/273/322 G90 3.8 GDI AWD 40 A 0 1 none
299 270 566/260/262/270/299 Genesis DH G330 AWD 40 A 0 1 none
264 260 566/260/264 GV60 40 A 0 1 gv60-ru 566/260 none
354 264 566/260/264/354 GV60 2021- (JW1) 40 A 0 1 gv60-2021-jw1-ru 566/260/264 none
288 268 566/260/261/268/288 G70 2.5T 4WD 50 A 0 1 g70-2-5t-4wd-ru 566/260/261/268 none
305 271 566/260/262/271/305 G80 3.8 GDI US Version 50 A 0 1 none
329 274 566/260/263/274/329 G90 5.0 AWD 50 A 0 1 none
323 273 566/260/263/273/323 G90 5.0 GDI AWD 50 A 0 1 none
300 270 566/260/262/270/300 Genesis DH 3.8 AWD US Version 50 A 0 1 none
265 260 566/260/265 GV70 50 A 0 1 gv70-ru 566/260 none
289 268 566/260/261/268/289 G70 3.3T 4WD 60 A 0 1 g70-3-3t-4wd-ru 566/260/261/268 none
306 271 566/260/262/271/306 G80 3.3 GDI AWD 60 A 0 1 none
330 274 566/260/263/274/330 G90 5.0 AWD LWB 60 A 0 1 none
324 273 566/260/263/273/324 G90 5.0 GDI AWD LWB 60 A 0 1 none
260 566 566/260 Genesis 60 A 0 1 genesis-ru 566 none
266 260 566/260/266 GV80 60 A 0 1 gv80-ru 566/260 none
307 271 566/260/262/271/307 G80 3.3 T-GDI Sports AWD 70 A 0 1 none
356 266 566/260/266/356 GV80 2020- (JX1) 70 A 0 1 gv80-2020-jx1-ru 566/260/266 none
308 271 566/260/262/271/308 G80 3.8 GDI AWD 80 A 0 1 none
309 271 566/260/262/271/309 G80 3.8GDI AWD US Version 90 A 0 1 none
347 355 566/260/265/355/347 GV70 Electrified 90 A 0 1 gv70-electrified-ru 566/260/265/355 none
310 271 566/260/262/271/310 G80 5.0 AWD US Version 100 A 0 1 none
355 265 566/260/265/355 GV70 2020- (JK1) 100 A 0 1 gv70-2020-jk1-ru 566/260/265 none
311 271 566/260/262/271/311 G80 2.2 Diesel 110 A 0 1 none
312 271 566/260/262/271/312 G80 2.2 Diesel AWD 120 A 0 1 none
477 469 566/260/266/356/348/469/477 56-561 Steering Wheel 130 A 0 1 none