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 
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 '577/%' 
  AND cscart_categories.category_id != 265 
  AND cscart_categories.parent_id != 265 
  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.00242

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": "range",
          "possible_keys": [
            "PRIMARY",
            "c_status",
            "parent",
            "id_path",
            "p_category_id"
          ],
          "key": "id_path",
          "key_length": "767",
          "used_key_parts": ["id_path"],
          "rows": 40,
          "filtered": 100,
          "index_condition": "cscart_categories.id_path like '577/%'",
          "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.category_id <> 265 and cscart_categories.parent_id <> 265 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": ["admin_test.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": [
            "admin_test.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
1227 1226 577/1226/1227 Acer 0 A 0 0 acer 577/1226 none
1244 1243 577/1242/1243/1244 Aimoto 0 A 0 0 aimoto 577/1242/1243 none
1252 1242 577/1242/1252 Amazfit 0 A 0 0 amazfit 577/1242 none
1253 1242 577/1242/1253 Apple Watch 0 A 0 0 apple-watch 577/1242 none
1230 1229 577/1229/1230 ATOUCH 0 A 0 0 atouch 577/1229 none
1254 1242 577/1242/1254 BOROFONE 0 A 0 0 borofone 577/1242 none
1267 1266 577/1242/1266/1267 BQ 0 A 0 0 bq 577/1242/1266 none
1231 1229 577/1229/1231 BQ 0 A 0 0 bq 577/1229 none
1232 1229 577/1229/1232 Digma 0 A 0 0 digma 577/1229 none
1255 1242 577/1242/1255 DIZO 0 A 0 0 dizo 577/1242 none
1245 1243 577/1242/1243/1245 Elari 0 A 0 0 elari 577/1242/1243 none
1246 1243 577/1242/1243/1246 Geozon 0 A 0 0 geozon 577/1242/1243 none
1233 1229 577/1229/1233 Habstore 0 A 0 0 habstore 577/1229 none
1256 1242 577/1242/1256 Haylou 0 A 0 0 haylou 577/1242 none
1257 1242 577/1242/1257 Hoco 0 A 0 0 hoco 577/1242 none
1258 1242 577/1242/1258 Huawei 0 A 0 0 huawei 577/1242 none
1268 1266 577/1242/1266/1268 Huawei 0 A 0 0 huawei 577/1242/1266 none
1234 1229 577/1229/1234 Inoi 0 A 0 0 inoi 577/1229 none
1235 1229 577/1229/1235 iPad 0 A 0 0 ipad 577/1229 none
1247 1243 577/1242/1243/1247 Jet 0 A 0 0 jet 577/1242/1243 none
1259 1242 577/1242/1259 Jet 0 A 0 0 jet 577/1242 none
1269 1266 577/1242/1266/1269 Jet 0 A 0 0 jet 577/1242/1266 none
1248 1243 577/1242/1243/1248 LEEF 0 A 0 0 leef 577/1242/1243 none
1236 1229 577/1229/1236 Lenovo 0 A 0 0 lenovo 577/1229 none
1228 1226 577/1226/1228 MacBook 0 A 0 0 macbook 577/1226 none
1270 1266 577/1242/1266/1270 Maxvi 0 A 0 0 maxvi 577/1242/1266 none
1237 1229 577/1229/1237 MXMID 0 A 0 0 mxmid 577/1229 none
1249 1243 577/1242/1243/1249 Philips 0 A 0 0 philips 577/1242/1243 none
1260 1242 577/1242/1260 POCO 0 A 0 0 poco 577/1242 none
1261 1242 577/1242/1261 Realme 0 A 0 0 realme 577/1242 none
1238 1229 577/1229/1238 Samsung 0 A 0 0 samsung 577/1229 none
1271 1266 577/1242/1266/1271 Samsung 0 A 0 0 samsung 577/1242/1266 none
1262 1242 577/1242/1262 Samsung 0 A 0 0 samsung 577/1242 none
1263 1242 577/1242/1263 SmartBaby 0 A 0 0 smartbaby 577/1242 none
1239 1229 577/1229/1239 TCL 0 A 0 0 tcl 577/1229 none
1240 1229 577/1229/1240 Temirgereev 0 A 0 0 temirgereev 577/1229 none
1264 1242 577/1242/1264 WiFIT 0 A 0 0 wifit 577/1242 none
1272 1266 577/1242/1266/1272 Xiaomi 0 A 0 0 xiaomi 577/1242/1266 none
1241 1229 577/1229/1241 Xiaomi 0 A 0 0 xiaomi 577/1229 none
1243 1242 577/1242/1243 Детские часы 0 A 0 0 detskie-chasy 577/1242 none
1265 1242 577/1242/1265 Копия Apple Watch 0 A 0 0 kopiya-apple-watch 577/1242 none
1251 1242 577/1242/1251 Наборы 0 A 0 0 nabory 577/1242 none
1226 577 577/1226 Ноутбуки 0 A 0 0 noutbuki 577 none
1229 577 577/1229 Планшеты 0 A 0 0 planshety 577 none
1250 1243 577/1242/1243/1250 Прочее 0 A 0 0 prochee 577/1242/1243 none
1242 577 577/1242 Смарт-часы 0 A 0 0 smart-chasy 577 none
1266 1242 577/1242/1266 Фитнес-трекеры 0 A 0 0 fitnes-trekery 577/1242 none