SELECT 
  *, 
  cscart_seo_names.name as seo_name, 
  cscart_seo_names.path as seo_path 
FROM 
  cscart_categories 
  LEFT JOIN cscart_category_descriptions ON cscart_category_descriptions.category_id = cscart_categories.category_id 
  AND cscart_category_descriptions.lang_code = 'ja' 
  LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = 254 
  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 
  cscart_categories.category_id = 254 
  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.company_id = 1

Query time 0.00324

JSON explain

{
  "query_block": {
    "select_id": 1,
    "const_condition": "1",
    "table": {
      "table_name": "cscart_categories",
      "access_type": "const",
      "possible_keys": ["PRIMARY", "c_status", "p_category_id"],
      "key": "PRIMARY",
      "key_length": "3",
      "used_key_parts": ["category_id"],
      "ref": ["const"],
      "rows": 1,
      "filtered": 100
    },
    "table": {
      "table_name": "cscart_category_descriptions",
      "access_type": "const",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "9",
      "used_key_parts": ["category_id", "lang_code"],
      "ref": ["const", "const"],
      "rows": 1,
      "filtered": 100
    },
    "table": {
      "table_name": "cscart_seo_names",
      "access_type": "const",
      "possible_keys": ["PRIMARY", "dispatch"],
      "key": "PRIMARY",
      "key_length": "210",
      "used_key_parts": [
        "object_id",
        "type",
        "dispatch",
        "lang_code",
        "company_id"
      ],
      "ref": ["const", "const", "const", "const", "const"],
      "rows": 1,
      "filtered": 100
    }
  }
}

Result

category_id parent_id id_path level company_id usergroup_ids status product_count position timestamp is_op localization age_verification age_limit parent_age_verification parent_age_limit selected_views default_view product_details_view product_columns is_trash is_default storefront_id lang_code category description meta_keywords meta_description page_title age_warning_message name object_id type dispatch path seo_name seo_path
254 0 254 1 1 0 A 10 10 1429196400 N N 0 N 0 a:2:{s:21:"products_multicolumns";s:21:"products_multicolumns";s:24:"products_without_options";s:24:"products_without_options";} products_without_options default 0 N N 1 ja BV-HEAD <a href="/movie/sugawara"><img src="/html/images/banner/bvhead_893_298.jpg" alt="マーキンス BV-HEAD 野鳥・ビデオ雲台" /></a> マーキンス, MARKINS, トリンプル, TRINPLE, 雲台, 自由雲台, アルカスイス互換, 野鳥撮影, 飛行機撮影 野鳥や野生動物などの撮影には移動がつきものです。機材は重い分だけ負担になりますので、軽くて信頼できる機材をお探しの方に是非お勧めしたいのが、マーキンスのBV-HEADです。800mm F5.6(ハチゴロー)でもしっかりと止まり、耐久性も問題ありません。 マーキンス BV-HEAD ラインナップ | 株式会社トリンプル bv-head 254 c bv-head