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 = 104 
  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.00141

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 = 'ru')"
    }
  }
}

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 abt__ut2_microdata_schema_type multi_city lang_code page description meta_keywords meta_description page_title link custom_header seo_name seo_path
104 1 0 104 A T 0 1648663200 0 0 N 0 0 N ru Презентации коллекций <style type="text/css"> .nf-flex { display: flex; flex-direction: row; flex-wrap: wrap; gap: 20px; justify-content: start; } .img-block { background-position: center; background-size: cover; margin-bottom: 36.5px; } .item-pres { /*margin-right: 20px;*/ /*max-width: 469px;*/ /*padding-bottom: 15px;*/ position: relative; transition: all .3s ease-in-out; width: calc(33% - 12px); height: auto; } .item-pres::before { content: ""; padding-top: 71%; float: left; } .item-pres-title { font-size: 26px; text-transform: uppercase; font-weight: 700; padding-left: 15px; display: none; margin-right: auto; } .item-pres-btn-group { display: flex; flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; padding-left: 15px; /*position: absolute;*/ top: 87%; left: 55%; display: none; } body .item-pres-btn-group a { text-decoration: none !important; text-align: center; background-color: #f1f1f1 !important; color: #000; height: 40px; width: 115px; margin-right: 15px; font-size: 13px; font-weight: 700; border-radius: 100px 100px 100px 100px / 200% 200%; display: flex; flex-direction: row; justify-content: center; align-items: center; } body .item-pres-btn-group a:hover { text-decoration: none !important; background-color: #bdfa05 !important; } .item-pres-btn-group .btn-watch { border: none; } .item-pres-btn-group .btn-download { border: 2px solid #bdfa05; } .item-pres-btn-group .btn-watch:hover { background-color: #1621f9; } .item-pres-btn-group .btn-download:hover { background-color: #bdfa05; text-decoration: none !important; } .btn-download:hover { text-decoration: none !important; } .img-block img { display: block; width: 100%; height: 100%; } @media screen and (max-width: 550px) { .item-pres-btn-group { flex-direction: column; } .item-pres { } body .item-pres-btn-group a { margin-bottom: 10px; } .img-block { max-width: 469px; height: auto; } } .prezentacii-flex-row { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; background-color: #fff; } .prezentacii-flex-row:hover { box-shadow: 0 0 5px rgba(34, 34, 34, 0.2), 0 0 30px rgba(34, 34, 34, 0.1); } .img-block { position: relative; margin-bottom: 0; z-index: 1; } .item-pres { } @media screen and (max-width: 1129px) { .item-pres::before { display: none; } } @media screen and (max-width: 991px) { .item-pres { width: calc(50% - 12px); } } @media screen and (max-width: 767px) { .item-pres { width: 100%; } } @media screen and (min-width: 1130px) { .img-block img { -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter: grayscale(100%); filter: grayscale(100%); filter: gray; } .item-pres:hover .img-block img { filter: none; } .img-block { margin-bottom: 36.5px; } /* .item-pres { position: relative; width: 445px; height: 315px; } */ .item-pres-container { transition: all .3s ease-in-out; position: absolute; width: 100%; height: 100%; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3000; } .item-pres:hover .item-pres-container { position: absolute; background-color: #fff; width: 633px; height: 547px; z-index: 9999; transform-origin: center center; box-shadow: 0px 16px 112px 0px #000000A6; } .item-pres .item-pres-title { display: block; opacity: 0; transition: 0; } .item-pres:hover .item-pres-title { display: block; opacity: 1; } .item-pres .item-pres-btn-group { display: flex; flex-direction: row; flex-wrap: nowrap; opacity: 0; transition: .3s ease-in-out; position: absolute; bottom: 30px; left: 0; right: 0; top: auto; } .item-pres:hover .item-pres-btn-group { display: flex; flex-direction: row; flex-wrap: nowrap; opacity: 1; } body .item-pres-btn-group a.btn-watch { background-color: #bdfa05 !important; } body .item-pres-btn-group a.btn-download { border: none; } } </style> <div class="nf-flex ai-start"> <div class="item-pres prezentacii-flex-row"> <div class="item-pres-container"> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/press_coll_perla.pdf" target="_blank" class="btn-download"> <div class="img-block"> <img src="/design/themes/abt__unitheme2/media/images/abt__unitheme2/new/collections/perla-min.jpg" alt="Perla"> </div> </a> <div class="item-pres-btn-group"> <div class="item-pres-title">Рerla</div> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/press_coll_perla.pdf" download="" class="btn-watch">Скачать</a> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/press_coll_perla.pdf" class="btn-download" target="_blank">Смотреть</a> </div> </div> </div> <div class="item-pres prezentacii-flex-row"> <div class="item-pres-container"> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/pres_coll_fly.pdf" target="_blank" class="btn-download"> <div class="img-block"> <img src="/design/themes/abt__unitheme2/media/images/abt__unitheme2/new/collections/fly_land_prw-min.jpg" alt="Fly"> </div> </a> <div class="item-pres-btn-group"> <div class="item-pres-title">Fly</div> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/pres_coll_fly.pdf" download="" class="btn-watch">Скачать</a> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/pres_coll_fly.pdf" class="btn-download" target="_blank">Смотреть</a> </div> </div> </div> <div class="item-pres prezentacii-flex-row"> <div class="item-pres-container"> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/pres_coll_impuls.pdf" target="_blank" class="btn-download"> <div class="img-block"> <img src="/design/themes/abt__unitheme2/media/images/abt__unitheme2/new/collections/impulse_land_prw-min.jpg" alt="Impulse"> </div> </a> <div class="item-pres-btn-group"> <div class="item-pres-title">Impulse</div> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/pres_coll_impuls.pdf" download="" class="btn-watch">Скачать</a> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/pres_coll_impuls.pdf" class="btn-download" target="_blank">Смотреть</a> </div> </div> </div> <div class="item-pres prezentacii-flex-row"> <div class="item-pres-container"> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/pres_coll_magnifico.pdf" target="_blank" class="btn-download"> <div class="img-block"> <img src="/design/themes/abt__unitheme2/media/images/abt__unitheme2/new/collections/magnifico_land_prw-min.jpg" alt="Magnifico"> </div> </a> <div class="item-pres-btn-group"> <div class="item-pres-title">Magnifico</div> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/pres_coll_magnifico.pdf" download="" class="btn-watch">Скачать</a> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/pres_coll_magnifico.pdf" class="btn-download" target="_blank">Смотреть</a> </div> </div> </div> <div class="item-pres prezentacii-flex-row"> <div class="item-pres-container"> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/press_coll_inspiration.pdf" target="_blank" class="btn-download"> <div class="img-block"> <img src="/design/themes/abt__unitheme2/media/images/abt__unitheme2/new/collections/inspiration_land-min.jpg" alt="Inspiration"> </div> </a> <div class="item-pres-btn-group"> <div class="item-pres-title">Inspiration</div> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/press_coll_inspiration.pdf" download="" class="btn-watch">Скачать</a> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/press_coll_inspiration.pdf" class="btn-download" target="_blank">Смотреть</a> </div> </div> </div> <div class="item-pres prezentacii-flex-row"> <div class="item-pres-container"> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/press_coll_primo_solo.pdf" target="_blank" class="btn-download"> <div class="img-block"> <img src="/design/themes/abt__unitheme2/media/images/abt__unitheme2/new/collections/pimo_solo_land_prw-min.jpg" alt="Primo-solo"> </div> </a> <div class="item-pres-btn-group"> <div class="item-pres-title">Primo solo</div> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/press_coll_primo_solo.pdf" download="" class="btn-watch">Скачать</a> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/press_coll_primo_solo.pdf" class="btn-download" target="_blank">Смотреть</a> </div> </div> </div> <div class="item-pres prezentacii-flex-row"> <div class="item-pres-container"> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/press_coll_romantica.pdf" target="_blank" class="btn-download"> <div class="img-block"> <img src="/design/themes/abt__unitheme2/media/images/abt__unitheme2/new/collections/romantica-min.jpg" alt="Romantica"> </div> </a> <div class="item-pres-btn-group"> <div class="item-pres-title">Романтика</div> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/press_coll_romantica.pdf" download="" class="btn-watch">Скачать</a> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/press_coll_romantica.pdf" class="btn-download" target="_blank">Смотреть</a> </div> </div> </div> <div class="item-pres prezentacii-flex-row"> <div class="item-pres-container"> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/pres_coll_baxter.pdf" target="_blank" class="btn-download"> <div class="img-block"> <img src="/design/themes/abt__unitheme2/media/images/abt__unitheme2/new/collections/baxter_land_prw-min.jpg" alt="Baxter"> </div> </a> <div class="item-pres-btn-group"> <div class="item-pres-title">Baxter</div> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/pres_coll_baxter.pdf" download="" class="btn-watch">Скачать</a> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/pres_coll_baxter.pdf" class="btn-download" target="_blank">Смотреть</a> </div> </div> </div> <div class="item-pres prezentacii-flex-row"> <div class="item-pres-container"> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/pres_coll_forrest.pdf" target="_blank" class="btn-download"> <div class="img-block "> <img src="/design/themes/abt__unitheme2/media/images/abt__unitheme2/new/collections/forrest_land_prw-min.jpg" alt="For rest"> </div> </a> <div class="item-pres-btn-group"> <div class="item-pres-title">For rest</div> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/pres_coll_forrest.pdf" download="" class="btn-watch">Скачать</a> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/pres_coll_forrest.pdf" class="btn-download" target="_blank">Смотреть</a> </div> </div> </div> <div class="item-pres prezentacii-flex-row"> <div class="item-pres-container"> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/pres_coll_kingsman.pdf" target="_blank" class="btn-download"> <div class="img-block "> <img src="/design/themes/abt__unitheme2/media/images/abt__unitheme2/new/collections/kingsman_land_prw-min.jpg" alt="Kingsman"> </div> </a> <div class="item-pres-btn-group"> <div class="item-pres-title">Kingsman</div> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/pres_coll_kingsman.pdf" download="" class="btn-watch">Скачать</a> <a href="/design/themes/abt__unitheme2/media/images/promo/presentation/pres/pres_coll_kingsman.pdf" class="btn-download" target="_blank">Смотреть</a> </div> </div> </div> </div> prezentacii-kollekciy