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 = 'ru' 
  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 = 20 
  AND cscart_page_descriptions.lang_code = 'ru' 
  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')

Query time 0.00169

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "1.20"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_pages",
          "access_type": "const",
          "possible_keys": [
            "PRIMARY"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "page_id"
          ],
          "key_length": "3",
          "ref": [
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 1,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "0.00",
            "eval_cost": "0.20",
            "prefix_cost": "0.00",
            "data_read_per_join": "2K"
          },
          "used_columns": [
            "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"
          ]
        }
      },
      {
        "table": {
          "table_name": "cscart_page_descriptions",
          "access_type": "const",
          "possible_keys": [
            "PRIMARY"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "page_id",
            "lang_code"
          ],
          "key_length": "9",
          "ref": [
            "const",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 1,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "0.00",
            "eval_cost": "0.20",
            "prefix_cost": "0.00",
            "data_read_per_join": "3K"
          },
          "used_columns": [
            "page_id",
            "lang_code",
            "page",
            "description",
            "meta_keywords",
            "meta_description",
            "page_title",
            "link"
          ]
        }
      },
      {
        "table": {
          "table_name": "cscart_ult_objects_sharing",
          "access_type": "const",
          "possible_keys": [
            "PRIMARY"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "share_object_id",
            "share_company_id",
            "share_object_type"
          ],
          "key_length": "159",
          "ref": [
            "const",
            "const",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 1,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "0.00",
            "eval_cost": "0.20",
            "prefix_cost": "0.00",
            "data_read_per_join": "160"
          },
          "used_columns": [
            "share_company_id",
            "share_object_id",
            "share_object_type"
          ]
        }
      },
      {
        "table": {
          "table_name": "cscart_seo_names",
          "access_type": "ref",
          "possible_keys": [
            "PRIMARY",
            "dispatch"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "object_id",
            "type",
            "dispatch",
            "lang_code"
          ],
          "key_length": "206",
          "ref": [
            "const",
            "const",
            "const",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 1,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "1.00",
            "eval_cost": "0.20",
            "prefix_cost": "1.20",
            "data_read_per_join": "1K"
          },
          "used_columns": [
            "name",
            "object_id",
            "type",
            "dispatch",
            "path",
            "lang_code"
          ]
        }
      }
    ]
  }
}

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
20 1 0 20 A T 0 1550005200 0 0 N 0 0 activity ru Контакты <div class="ty-column1" itemscope="" itemtype="http://schema.org/LocalBusiness"> <h1 class="ty-main-title">Контакты</h1> <div class="ty-column2"> <img src="images/manufacturing_12_2.gif" style="float: right; display: flex;background-color: #ffffff8c;" alt="Фабрика варки."> <div class="ty-pages-contacts__contact-block"> <h2><span itemprop="name">«Фабрика крашения и варки одежды»</span></h2> <div> <strong> Адрес: </strong> <span itemprop="address" itemscope="" itemtype="http://schema.org/PostalAddress"> <span itemprop="postalCode">125445</span>, <span itemprop="addressCountry">Россия</span>, <span itemprop="addressLocality"></span>Москва, ул. Смольная, 32<span itemprop="streetAddress"></span> <br> </span> </div> <div> <strong>Сайт: </strong> <a href="https://maiki.net" itemprop="url">https://maiki.net</a> </div> <div> <strong>Почта: </strong><a href="mailto:info@maiki.net">info@maiki.net</a> </div> <div> <strong>Телефон:</strong> <span itemprop="telephone"><a href="tel:+74955184592" class="ty-cr-phone"><i class="vs-icon-phone"></i><span class="ty-cr-phone-prefix">+7(495)&nbsp;</span>970-29-26</a>&nbsp; (звонок бесплатный) </span> </div> </div> </div> <div class="ty-column2 ty-float-right mn_font_01 striple"> <h3 style="font-size: 2em;">Часы работы офиса:</h3> <span itemprop="openingHours" content="пн-чт 10:00 - 18:00">пн. - чт. 10:00 - 18:00 </span><br> <span itemprop="openingHours" content="пт 10:00 - 18:00">пт. 10:00 - 17:00</span><br> <span itemprop="openingHours" content="сб - вс Выходной.">сб. - вс. Выходной.</span><br> <p>(время Московское)</p> <span itemprop="priceRange" content="RUB"></span> </div> </div> <div class="ty-column1 mn_shadow"> <div class="ty-column2"> <div class="ty-pages-contacts__contact-block"> <h4>Основная деятельность: </h4> <p>Услуги по крашению текстиля и одежды. Различные способы варки текстиля и одежды.</p> <p><span itemprop="description">Поможем подобрать хороший швейный цех, производство печати на ткани. Услуги по пошиву и крашению текстиля и одежды, покраска изделий из ткани. Различные способы варки, нанесение изображений.</span> </p> </div> </div> <div class="ty-column2"> <div class="ty-pages-contacts__office"> <h4>Как добраться до офиса:</h4> <p><strong>Метро:</strong> Беломорская, </p><p> <span></span> </p> </div><p>Москва, ул. Смольная, 32<br>Вход с правой стороны здания с вывеской "Диана", через дверь в воротах.</p> </div> </div> <div class="ty-column1"> <div class="ty-column2"> <div class="ty-pages-contacts__image"> <h4>Вход в офис:</h4> <img src="images/smolnaya_32.jpg" alt="Вход в наш офис."> <div class="mn_font_01" style="display: block"> <p>Звоните перед посещением.</p> </div> </div> </div> <div class="ty-column2"> <h4>Мы на карте:</h4> <iframe src="https://yandex.ru/map-widget/v1/?um=constructor%3A9511db5e731276c5eaaec8c368fa81f5041d882bf3f5929de610f554cb362c7f&source=constructor" width="100%" height="400" frameborder="0"></iframe> </div> </div> Контакты Контакты Контакты kontakty