SELECT 
  cscart_pages.*, 
  cscart_page_descriptions.*, 
  cscart_seo_names.name as seo_name, 
  cscart_seo_names.path as seo_path 
FROM 
  cscart_pages 
  INNER JOIN cscart_page_descriptions ON cscart_pages.page_id = cscart_page_descriptions.page_id 
  LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = cscart_pages.page_id 
  AND cscart_seo_names.type = 'a' 
  AND cscart_seo_names.dispatch = '' 
  AND cscart_seo_names.lang_code = 'ja' 
  INNER JOIN cscart_ult_objects_sharing ON (
    cscart_ult_objects_sharing.share_object_id = cscart_pages.page_id 
    AND cscart_ult_objects_sharing.share_company_id = 1 
    AND cscart_ult_objects_sharing.share_object_type = 'pages'
  ) 
WHERE 
  cscart_pages.page_id = 1 
  AND cscart_page_descriptions.lang_code = 'ja' 
  AND (
    cscart_pages.usergroup_ids = '' 
    OR FIND_IN_SET(0, cscart_pages.usergroup_ids) 
    OR FIND_IN_SET(1, cscart_pages.usergroup_ids)
  ) 
  AND cscart_pages.page_type IN ('T', 'L', 'B', 'F', 'P')

Query time 0.00037

JSON explain

{
  "query_block": {
    "select_id": 1,
    "const_condition": "1",
    "table": {
      "table_name": "cscart_pages",
      "access_type": "const",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "3",
      "used_key_parts": ["page_id"],
      "ref": ["const"],
      "rows": 1,
      "filtered": 100
    },
    "table": {
      "table_name": "cscart_page_descriptions",
      "access_type": "const",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "9",
      "used_key_parts": ["page_id", "lang_code"],
      "ref": ["const", "const"],
      "rows": 1,
      "filtered": 100
    },
    "table": {
      "table_name": "cscart_ult_objects_sharing",
      "access_type": "const",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "159",
      "used_key_parts": [
        "share_object_id",
        "share_company_id",
        "share_object_type"
      ],
      "ref": ["const", "const", "const"],
      "rows": 1,
      "filtered": 100,
      "using_index": true
    },
    "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": ["const", "const", "const", "const"],
      "rows": 1,
      "filtered": 100,
      "attached_condition": "trigcond(cscart_seo_names.`type` = 'a' and cscart_seo_names.dispatch = '' and cscart_seo_names.lang_code = 'ja')"
    }
  }
}

Result

page_id company_id parent_id id_path status page_type position timestamp usergroup_ids localization new_window use_avail_period avail_from_timestamp avail_till_timestamp facebook_obj_type lang_code page description meta_keywords meta_description page_title link seo_name seo_path
1 1 0 1 A T 200 1208790000 0 0 N 0 0 activity ja 会社概要 <!-- about --> <!-- <div style="margin: 0 0 50px 0;"><img class="alignnone size-full wp-image-41" src="/html/images/trinple200.jpg" alt="" width="200" height="72" /></div> --> <div style="height:1em;"></div> <div style="width:calc(100% - 150px); line-height: 1.8em; float:left;"> 良い機材は写真撮影を楽しくしてくれるものです。マーキンス(MARKINS)は自由雲台の専門メーカーですが、TRINPLEが自信をもって紹介できる機材のひとつです。マーキンスをはじめ、皆様に喜んでいただける機材の取扱いを心掛けてまいります。また、韓国企業とのお取引などもお手伝いできますのでお気軽にお問合せ下さい。 </div> <div style="float: right;"> <img src="/html/images/itaba_150_130.jpg" /> </div> <div style="clear: both; height: 20px;"></div> <table width="100%" cellspacing="1" cellpadding="5" align="center"> <tr height="30"> <td bgcolor="#cccccc" width="1"></td> <td width="80" valign="middle"> <div style="padding-left: 8px;">会 社 名</div></td> <td valign="middle">Trinple</td> </tr> <tr height="30"> <td bgcolor="#cccccc"></td> <td valign="middle" > <div style="padding-left: 8px;">代 表 者</div> </td> <td valign="middle">板場賢二</td> </tr> <tr height="30"> <td bgcolor="#cccccc"></td> <td valign="middle" > <div style="padding-left: 8px;">所 在 地</div></td> <td valign="middle"> <div style="padding-right: 20px; float: left;">大韓民国</div> </td> </tr> <tr height="30"> <td bgcolor="#cccccc"></td> <td valign="middle"> <div style="padding-left: 8px;">電話番号</div></td> <td valign="middle">050-5532-2783</td> </tr> </table> <div style="clear: both; height: 40px;"></div> <div style="font-size:large; margin:50px 2% 80px 2%;">最新の情報は <a href="/info/"><span style="font-size:large; font-weight: bold;">新着情報</span></a> をご覧下さい。</div> <div style="margin:0 2% 50px 2%;"><!-- div 2020 START --> <div id="subtitle_bar">2020年</div> <div style="height: 20px;"></div> <div style="max-width:600px; margin: 0 auto;"> <div style="margin:0 0 10px 15px;"><a href="http://www.cpplus.jp/" target="_blank">日本最大級のカメラ&フォトイメージングショウ CP+2020</a></div> <div style="margin:0 0 10px 15px;">期間: 2020年 2月27日-3月1日 / 会場: パシフィコ横浜</div> <div style="margin:0 0 10px 15px;">新型コロナウィルスの影響により開催中止</div> </div> </div><!-- div 2020 END --> <div style="margin:0 2% 50px 2%;"><!-- div 2019 START --> <div id="subtitle_bar">2019年</div> <div style="height: 20px;"></div> <div style="max-width:600px; margin: 0 auto;"> <div style="margin:0 0 10px 15px;"><a href="http://www.cpplus.jp/" target="_blank">日本最大級のカメラ&フォトイメージングショウ CP+2019</a> 出展</div> <div style="margin:0 0 10px 15px;">期間: 2019年 2月28日-3月3日 / 会場: パシフィコ横浜</div> <a href="http://www.cpplus.jp/"><img src="/html/images/cpplus/cpplus2019_logo_600.jpg" border="0" alt="CP+2019"></a> <div style="margin:10px 0 0 0;"></div> <img src="/html/images/cpplus/cpplus2019-11.jpg" border="0" alt="CP+ 2019"> <div style="margin:10px 0 0 0;"></div> <img src="/html/images/cpplus/cpplus2019-20.jpg" border="0" alt="CP+ 2019"> <div style="margin:10px 0 0 0;"></div> <img src="/html/images/cpplus/cpplus2019-31.jpg" border="0" alt="CP+ 2019"> <div style="padding-top:10px;">→ <a href="/cpplus2019">会場レポート</a></div> </div> </div><!-- div 2019 END --> <div style="margin:0 2% 50px 2%;"><!-- div 2018 START --> <div id="subtitle_bar">2018年</div> <div style="height: 20px;"></div> <div style="max-width: 600px; margin: 0 auto;"> <div style="margin: 0 0 10px 15px;"><a href="http://www.cpplus.jp/" target="_blank" rel="noopener">日本最大級のカメラ&フォトイメージングショウ CP+2018</a> 出展</div> <div style="margin: 0 0 10px 15px;">期間: 2018年 3月1-4日 / 会場: パシフィコ横浜</div> <a href="http://www.cpplus.jp/"><img src="/html/images/cpplus/cpplus2018_logo_600.jpg" alt="CP+2018" border="0" /></a> <div style="margin: 10px 0 0 0;"></div> <img src="/html/images/cpplus/cpplus2018-10.jpg" alt="CP+ 2018" border="0" /> <div style="margin: 10px 0 0 0;"></div> <img src="/html/images/cpplus/cpplus2018-34.jpg" alt="CP+ 2018" border="0" /> <div style="padding-top:10px;">→ <a href="/cpplus2018">会場レポート</a></div> </div> </div><!-- div 2018 END --> <div style="margin:0 2% 50px 2%;"><!-- div 2017 START --> <div id="subtitle_bar">2017年</div> <div style="height: 20px;"></div> <div style="max-width: 600px; margin: 0 auto;"> <div style="margin: 0 0 5px 15px;"><a href="http://www.cpplus.jp/" target="_blank" rel="noopener">日本最大級のカメラ&フォトイメージングショウ CP+2017</a> 出展</div> <div style="margin: 0 0 10px 15px;">期間: 2017年 2月23-26日 / 会場: パシフィコ横浜</div> <a href="http://www.cpplus.jp/" target="_blank" rel="noopener"><img src="/html/images/cpplus/cpplus2017_logo_600.jpg" alt="CP+2017" border="0" /></a> <div style="margin: 10px 0 0 0;"></div> <img src="/html/images/cpplus/cpplus2017-official.jpg" alt="CP+ 2017" border="0" /> <div style="margin: 10px 0 0 0;"></div> <img src="/html/images/cpplus/cpplus2017-01.jpg" alt="CP+ 2017" border="0" /> <div style="padding-top:10px;">→ <a href="/cpplus2017">会場レポート</a></div> </div> </div><!-- div 2017 END --> <div style="margin:0 2% 50px 2%;"><!-- div 2016 START --> <div id="subtitle_bar">2016年</div> <div style="height: 20px;"></div> <div style="max-width: 600px; margin: 0 auto;"> <div style="margin: 0 0 5px 15px;"><a href="http://www.cpplus.jp/2016/" target="_blank" rel="noopener">日本最大級のカメラ&フォトイメージングショウ CP+2016</a> 出展</div> <div style="margin: 0 0 10px 15px;">期間: 2016年 2月25-28日 / 会場: パシフィコ横浜</div> <a href="http://www.cpplus.jp/" target="_blank" rel="noopener"><img src="/html/images/cpplus/cpplus2016_logo_600.jpg" alt="CP+ 2016" border="0" /></a> <div style="margin: 10px 0 0 0;"></div> <a href="http://www.cpplus.jp/" target="_blank" rel="noopener"><img src="/html/images/cpplus/cpplus2016-about_600.jpg" alt="CP+2016" border="0" /></a> <div style="margin: 10px 0 0 0;"></div> <a href="http://www.cpplus.jp/"><img src="/html/images/cpplus/cpplus2016-out-01.jpg" alt="マーキンス展示ブース" border="0" /></a> <div style="padding-top:10px;">→ <a href="/cpplus2016">会場レポート</a></div> </div> </div><!-- div 2016 END --> <div style="margin:0 2% 50px 2%;"><!-- div 2015 START --> <div id="subtitle_bar">2015年</div> <div style="height: 20px;"></div> <div style="max-width: 600px; margin: 0 auto;"> <div style="margin: 0 0 5px 15px;"><a href="http://www.cpplus.jp/" target="_blank" rel="noopener">日本最大級のカメラ&フォトイメージングショウ CP+2015</a> 出展</div> <div style="margin: 0 0 10px 15px;">期間: 2015年 2月12-15日 / 会場: パシフィコ横浜</div> <a href="http://www.cpplus.jp/" target="_blank" rel="noopener"><img src="/html/images/cpplus/cpplus2015_logo_600.jpg" border="0" /></a> <a href="http://www.cpplus.jp/" target="_blank" rel="noopener"><img src="/html/images/cpplus/cpplus2015-about_600.jpg" border="0" /></a> <div style="margin: 10px 0 0 0;"></div> <a href="cpplus2015.html"><img src="/html/images/cpplus/cpplus2015_600.jpg" border="0" /></a> <div style="padding-top:10px;">→ <a href="/cpplus2015">会場レポート</a></div> </div> </div><!-- div 2015 END --> <div style="margin:0 2% 50px 2%;"><!-- div 2014 START --> <div id="subtitle_bar">2014年</div> <div style="height: 20px;"></div> <div style="max-width: 600px; margin: 0 auto;"> <div style="margin: 0 0 5px 15px;"><a href="http://www.cpplus.jp/" target="_blank" rel="noopener">日本最大級のカメラ&フォトイメージングショウ CP+2014</a> 出展</div> <div style="margin: 0 0 10px 15px;">期間: 2014年 2月13-16日 / 会場: パシフィコ横浜</div> <a href="http://www.cpplus.jp/" target="_blank" rel="noopener"><img src="/html/images/cpplus/cpplus2014_logo_600.jpg" border="0" /></a> <a href="http://www.cpplus.jp/" target="_blank" rel="noopener"><img src="/html/images/cpplus/cpplus2014_event_photo_002_600.jpg" border="0" /></a> </div> </div><!-- div 2014 END --> <div style="height:6em;"></div> マーキンス, MARKINS, トリンプル, TRINPLE, 雲台, 自由雲台, 写真撮影機材 良い機材は写真撮影を楽しくしてくれるものです。Trinple では、マーキンスをはじめ、お客様に喜んでいただける機材の取扱いを心掛けております。 会社概要 | 株式会社トリンプル about