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_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 = 'ja' 
  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 = 'ja' 
  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.level <= 3 
  AND cscart_categories.storefront_id IN (0, 1) 
  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.00205

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": ["c_status"],
          "rows": 32,
          "filtered": 100,
          "attached_condition": "cscart_categories.company_id = 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` = 'A' and cscart_categories.`level` <= 3 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": ["markins_test.cscart_categories.category_id", "const"],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "trigcond(cscart_category_descriptions.lang_code = 'ja')"
        },
        "table": {
          "table_name": "cscart_seo_names",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY", "dispatch"],
          "key": "PRIMARY",
          "key_length": "210",
          "used_key_parts": [
            "object_id",
            "type",
            "dispatch",
            "lang_code",
            "company_id"
          ],
          "ref": [
            "markins_test.cscart_categories.category_id",
            "const",
            "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 = 'ja')"
        }
      }
    }
  }
}

Result

category_id parent_id id_path category position status company_id storefront_id seo_name seo_path
314 312 312/314 BASIC 10 A 1 1 basic 312
254 0 254 BV-HEAD 10 A 1 1 bv-head
287 255 255/287 Q3i シリーズ トラベラー 10 A 1 1 q3itr 255
277 256 256/277 UNC 3/8-16 (太) ネジ用 10 A 1 1 unc38 256
313 314 312/314/313 UV & CLEAR 10 A 1 1 clear 312/314
318 315 312/315/318 UV & CLEAR 10 A 1 1 clear 312/315
278 256 256/278 i-Type 自由雲台 (M6 ネジ) 用 20 A 1 1 i-type 256
315 312 312/315 MASTER 20 A 1 1 master 312
288 255 255/288 Q3i シリーズ 20 A 1 1 q3i 255
317 314 312/314/317 カラー 20 A 1 1 category-317 312/314
255 0 255 自由雲台 20 A 1 1 ballhead
289 255 255/289 Q10i シリーズ 30 A 1 1 q10i 255
316 312 312/316 T-PRO 30 A 1 1 t-pro 312
279 256 256/279 パノラマ撮影用 30 A 1 1 panorama 256
290 255 255/290 Q20i シリーズ 40 A 1 1 q20i 255
256 0 256 クイックシュー 40 A 1 1 quickshoe
257 0 257 プレート 50 A 1 1 plate
259 0 259 VR-ホルダー 60 A 1 1 vr-holder
258 261 261/258 Gitzo用アイテム 70 A 1 1 gitzoitem 261
261 0 261 三脚 80 A 1 1 tripod
260 0 260 アクセサリー 100 A 1 1 accessory
312 0 312 フィルター 200 A 1 1 filter
281 0 281 アウトレット 300 A 1 1 outlet
263 257 257/263 カメラプレート 410 A 1 1 camera 257
264 257 257/264 L-プレート 420 A 1 1 l-plate 257
265 257 257/265 レンズプレート&フット 430 A 1 1 lens 257
267 257 257/267 リングプレート 440 A 1 1 ring 257
276 257 257/276 パノラマレール 450 A 1 1 panorama 257
293 261 261/293 GITZO 810 A 1 1 gitzo 261
292 261 261/292 HUSKY 820 A 1 1 husky 261