SELECT 
  cscart_bm_snapping.grid_id as grid_id, 
  cscart_bm_snapping.block_id as block_id, 
  IFNULL(
    dynamic_object_content.content, 
    default_content.content
  ) as content, 
  IFNULL(
    dynamic_object_content.object_id, 
    default_content.object_id
  ) AS object_id, 
  IFNULL(
    dynamic_object_content.object_type, 
    default_content.object_type
  ) AS object_type, 
  cscart_bm_block_statuses.object_ids as object_ids, 
  cscart_bm_snapping.*, 
  cscart_bm_blocks.*, 
  cscart_bm_blocks_descriptions.* 
FROM 
  cscart_bm_snapping 
  LEFT JOIN cscart_bm_blocks ON cscart_bm_blocks.block_id = cscart_bm_snapping.block_id 
  LEFT JOIN cscart_bm_block_statuses ON cscart_bm_snapping.snapping_id = cscart_bm_block_statuses.snapping_id 
  AND cscart_bm_block_statuses.object_type LIKE '' 
  LEFT JOIN cscart_bm_blocks_descriptions ON cscart_bm_blocks.block_id = cscart_bm_blocks_descriptions.block_id 
  LEFT JOIN cscart_bm_blocks_content AS default_content ON cscart_bm_blocks.block_id = default_content.block_id 
  AND cscart_bm_blocks_descriptions.lang_code = default_content.lang_code 
  AND default_content.snapping_id = 0 
  AND default_content.object_id = 0 
  AND default_content.object_type like '' 
  LEFT JOIN cscart_bm_blocks_content AS dynamic_object_content ON cscart_bm_blocks.block_id = dynamic_object_content.block_id 
  AND cscart_bm_blocks_descriptions.lang_code = dynamic_object_content.lang_code 
  AND dynamic_object_content.object_id = 0 
  AND dynamic_object_content.object_type like '' 
WHERE 
  cscart_bm_snapping.grid_id IN (
    96, 97, 99, 98, 100, 101, 102, 104, 105, 
    103, 106, 107, 108, 113, 109, 110, 111, 
    112, 114, 115
  ) 
  AND cscart_bm_blocks_descriptions.lang_code = 'ru' 
ORDER BY 
  cscart_bm_snapping.order, 
  cscart_bm_snapping.block_id

Query time 0.00101

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "read_sorted_file": {
          "filesort": {
            "sort_key": "cscart_bm_snapping.`order`, cscart_bm_snapping.block_id",
            "table": {
              "table_name": "cscart_bm_snapping",
              "access_type": "range",
              "possible_keys": ["grid_id"],
              "key": "grid_id",
              "key_length": "4",
              "used_key_parts": ["grid_id"],
              "rows": 29,
              "filtered": 100,
              "index_condition": "cscart_bm_snapping.grid_id in (96,97,99,98,100,101,102,104,105,103,106,107,108,113,109,110,111,112,114,115)"
            }
          }
        }
      },
      {
        "table": {
          "table_name": "cscart_bm_blocks",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "4",
          "used_key_parts": ["block_id"],
          "ref": ["u2372248_stroyka.cscart_bm_snapping.block_id"],
          "rows": 1,
          "filtered": 100
        }
      },
      {
        "table": {
          "table_name": "cscart_bm_blocks_descriptions",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "10",
          "used_key_parts": ["block_id", "lang_code"],
          "ref": ["u2372248_stroyka.cscart_bm_snapping.block_id", "const"],
          "rows": 1,
          "filtered": 100,
          "index_condition": "cscart_bm_blocks_descriptions.lang_code = 'ru'"
        }
      },
      {
        "table": {
          "table_name": "cscart_bm_block_statuses",
          "access_type": "ref",
          "possible_keys": ["snapping_id"],
          "key": "snapping_id",
          "key_length": "4",
          "used_key_parts": ["snapping_id"],
          "ref": ["u2372248_stroyka.cscart_bm_snapping.snapping_id"],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "trigcond(cscart_bm_snapping.snapping_id = cscart_bm_block_statuses.snapping_id and cscart_bm_block_statuses.object_type like '')"
        }
      },
      {
        "table": {
          "table_name": "default_content",
          "access_type": "ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "18",
          "used_key_parts": ["block_id", "snapping_id", "lang_code", "object_id"],
          "ref": [
            "u2372248_stroyka.cscart_bm_snapping.block_id",
            "const",
            "u2372248_stroyka.cscart_bm_blocks_descriptions.lang_code",
            "const"
          ],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "trigcond(default_content.object_type like '')"
        }
      },
      {
        "table": {
          "table_name": "dynamic_object_content",
          "access_type": "ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "4",
          "used_key_parts": ["block_id"],
          "ref": ["u2372248_stroyka.cscart_bm_snapping.block_id"],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "trigcond(dynamic_object_content.lang_code = cscart_bm_blocks_descriptions.lang_code and dynamic_object_content.object_id = 0 and dynamic_object_content.object_type like '')"
        }
      }
    ]
  }
}

Result

grid_id block_id content object_id object_type object_ids snapping_id wrapper user_class order status type properties company_id storefront_id abt__yt_banners_use abt__yt_banner_max_position lang_code name
106 61 0 118 0 A breadcrumbs a:1:{s:8:"template";s:22:"common/breadcrumbs.tpl";} 0 1 N 100 ru Breadcrumbs
97 67 0 103 hidden-phone hidden-tablet 0 D geo_maps_customer_location a:1:{s:8:"template";s:44:"addons/geo_maps/blocks/customer_location.tpl";} 0 1 N 100 ru Расположение покупателя
99 71 a:1:{s:7:"content";s:94:"<div class="ypi-menu__fixed-button"><i class="material-icons md-48 md-dark">&#xE5D4;</i></div>";} 0 1282 mfixed-button hidden 0 A smarty_block a:1:{s:8:"template";s:23:"blocks/smarty_block.tpl";} 0 1 N 100 ru Кнопка меню для фиксированной верхушки
101 76 0 113 0 A template a:1:{s:8:"template";s:48:"blocks/static_templates/abt__yt__top_buttons.tpl";} 0 1 N 100 ru Кнопки Wishlist и Compare
102 77 a:1:{s:4:"menu";s:1:"5";} 0 115 top-menu 0 A menu a:10:{s:8:"template";s:47:"blocks/menu/dropdown_horizontal_abt__yt_mwi.tpl";s:20:"abt__yt_filling_type";s:14:"column_filling";s:21:"abt__yt_columns_count";s:1:"4";s:19:"abt_menu_long_names";s:1:"N";s:29:"abt_menu_long_names_max_width";s:3:"100";s:30:"dropdown_second_level_elements";s:2:"12";s:19:"abt_menu_icon_items";s:1:"Y";s:29:"dropdown_third_level_elements";s:1:"6";s:36:"no_hidden_elements_second_level_view";s:1:"5";s:18:"abt_menu_ajax_load";s:1:"N";} 0 1 N 100 ru Главное меню
104 79 a:1:{s:7:"content";s:1109:"<ul class="ty-text-links ty-text-links_show_inline"> <li class="ty-text-links__item ty-level-0 m-sale"> <a class="ty-text-links__a" href="index.php?dispatch=products.on_sale" title="" rel="nofollow">Скидки</a> </li> <li class="ty-text-links__item ty-level-0 m-product-newest"> <a class="ty-text-links__a" href="index.php?dispatch=products.newest" title="" rel="nofollow">Новинки</a> </li> <li class="ty-text-links__item ty-level-0 m-brands"> <a class="ty-text-links__a" href="index.php?dispatch=product_features.view_all&filter_id=10" title="" rel="nofollow">Бренды</a> </li> <li class="ty-text-links__item ty-level-0 m-blog"> <a class="ty-text-links__a" href="index.php?dispatch=pages.view&page_id=7" title="" rel="nofollow"><i class="material-icons">bookmark_border</i> Блог магазина</a> </li> <li class="ty-text-links__item ty-level-0 m-active-promotions"> <a class="ty-text-links__a" href="index.php?dispatch=promotions.list" title="" rel="nofollow"><i class="material-icons">whatshot</i> Действующие промо акции</a> </li> </ul>";} 0 117 0 D smarty_block a:1:{s:8:"template";s:28:"blocks/safe_smarty_block.tpl";} 0 1 N 100 ru Справа - ссылки меню - mv2
109 80 0 120 blocks/wrappers/abt__yt__mainbox_general_seo.tpl 0 A template a:1:{s:8:"template";s:55:"blocks/static_templates/abt__yt__subscribe_advanced.tpl";} 0 1 N 100 ru На связи
100 212 a:1:{s:7:"content";s:2253:"<div class="ypi-cr-phone-number"> <div class="ypi-cr-phone"> <img src="/images/abt__yt_mwi__icon/14/VoIP.ico" width="30" height="30"><a href="tel:+79957896256" class="t-phone" rel="nofollow" title=""><span>+7(995)</span> 789-62-56</a> <a onclick="$('.ypi-cr-phone').next().toggleClass('hidden');" rel="nofollow" title=""><i class="material-icons">&#xE313;</i></a> <div class="aditional-links hidden-phone"> {if $addons.call_requests.status == "A"} {$obj_prefix = 'block'} {$obj_id = $block.snapping_id|default:0} {include file="common/popupbox.tpl" href="call_requests.request?obj_prefix={$obj_prefix}&obj_id={$obj_id}" link_text=__("call_requests.request_call") text=__("call_requests.request_call") id="call_request_{$obj_prefix}{$obj_id}" content="" } {/if} <a href="{"pages.view&page_id=2"|fn_url}" class="l-contacts hidden-tablet" rel="nofollow" title="">{__("abt__yt_contacts")}</a> </div> </div> <div class="ypi-cr-link pop-up-box hidden"> <a class="closer" onclick="$('.ypi-cr-phone').next().addClass('hidden');" title=""><i class="material-icons">&#xE5CD;</i></a> <div class="ty-cr-work"><b>Режим работы магазина:</b></div> <div class="ty-cr-work">Понедельник - Воскресенье с 10.00 до 19.00 без перерыва</div> <div class="ty-cr-work">Интернет магазин принимает заказы через Корзину<b> в круглосуточном режиме 24/7</b></div> <div class="ty-cr-work">Обработка заявок происходит в соответствии с графиком магазина</div> <a href="tel:+79957896256" class="n-phone" rel="nofollow" title=""><span>+7(995)</span> 789-62-56</a><br> <a href="tel:+79776614196" class="n-phone" rel="nofollow" title=""><span>+7(977)</span> 661-41-96</a><br> <div class="visible-phone"> <a href="pages.view&page_id=2" class="l-contacts" rel="nofollow" title="">{__("abt__yt_contacts")}</a> </div> </div> </div>";} 0 1281 0 A smarty_block a:1:{s:8:"template";s:23:"blocks/smarty_block.tpl";} 0 1 N 100 ru Обратный звонок
107 62 0 119 blocks/wrappers/mainbox_general.tpl 1 A main 0 1 N 100 ru Main Content
97 68 a:1:{s:7:"content";s:87:"<p>Стройка & Мебель - Лучшие идеи для комфорта! </p>";} 0 104 1 A html_block a:1:{s:8:"template";s:21:"blocks/html_block.tpl";} 0 1 N 100 ru Заголовок магазина - mv2
99 72 0 109 1 A template a:1:{s:8:"template";s:32:"blocks/static_templates/logo.tpl";} 0 1 N 100 ru Логотип
101 75 0 112 blocks/wrappers/onclick_dropdown.tpl ypi-mini-user 1 A my_account a:1:{s:8:"template";s:21:"blocks/my_account.tpl";} 0 1 N 100 ru Кабинет
109 81 a:1:{s:7:"content";s:786:"<div class="ypi-socials"> <a target="_blank" href="/"><i class="s-icon ypi-instagram"></i></a> <a target="_blank" href="/"><i class="s-icon ypi-telegram"></i></a> <a target="_blank" href="/"><i class="s-icon ypi-whatsapp"></i></a> <a target="_blank" href="/"><i class="s-icon ypi-facebook"></i></a> <a target="_blank" href="/"><i class="s-icon ypi-pinterest"></i></a> <a target="_blank" href="/"><i class="s-icon ypi-twitter"></i></a> <a target="_blank" href="/"><i class="s-icon ypi-skype"></i></a> <a target="_blank" href="/"><i class="s-icon ypi-hangouts"></i></a> <a target="_blank" href="/"><i class="s-icon ypi-vk"></i></a> <a target="_blank" href="/"><i class="s-icon ypi-google-plus-circle"></i></a> <a target="_blank" href="/"><i class="s-icon ypi-yuoutube-new"></i></a> </div>";} 0 121 1 A smarty_block a:1:{s:8:"template";s:28:"blocks/safe_smarty_block.tpl";} 0 1 N 100 ru Социальные ссылки - mv2
101 74 0 111 ypi-mini-cart 2 A cart_content a:4:{s:8:"template";s:23:"blocks/cart_content.tpl";s:22:"display_bottom_buttons";s:1:"Y";s:20:"display_delete_icons";s:1:"Y";s:19:"products_links_type";s:5:"thumb";} 0 1 N 100 ru Корзина
110 82 0 122 blocks/wrappers/footer_general.tpl footer-menu-account 2 A template a:1:{s:8:"template";s:62:"blocks/static_templates/abt__yt__my_account_links_advanced.tpl";} 0 1 N 100 ru Аккаунт
111 83 a:1:{s:4:"menu";s:1:"3";} 0 123 blocks/wrappers/footer_general.tpl footer-menu-shop 2 A menu a:2:{s:8:"template";s:26:"blocks/menu/text_links.tpl";s:18:"show_items_in_line";s:1:"N";} 0 1 N 100 ru Магазин
112 85 a:1:{s:7:"content";s:430:"<ul> <li>г. Москва, ул. 1-я Дубровская, д.1, офис 100</li> <li>8-800-000-00-00 (звонок бесплатный)</li> <li>Пн-Пт 9.00 - 18.00</li> <li><a class="ty-exception__links-a greeny" href="mailto:sales@demostore.ru">sales@demostore.ru</a></li> <li><a href="{"pages.view?page_id=20"|fn_url}" class="ty-exception__links-a">Посмотреть на карте</a></li> </ul>";} 0 125 blocks/wrappers/footer_general.tpl footer-no-wysiwyg footer-contacts 2 D smarty_block a:1:{s:8:"template";s:28:"blocks/safe_smarty_block.tpl";} 0 1 N 100 ru Контакты (в футере) - mv2
114 86 0 126 2 A template a:1:{s:8:"template";s:37:"blocks/static_templates/copyright.tpl";} 0 1 N 100 ru Copyright
115 87 0 127 2 A template a:1:{s:8:"template";s:41:"blocks/static_templates/payment_icons.tpl";} 0 1 N 100 ru Payment icons
100 184 a:1:{s:7:"content";s:2150:"<div class="ypi-cr-phone-number"> <div class="ypi-cr-phone"> <img src="/images/abt__yt_mwi__icon/14/VoIP.ico" width="30" height="30"><a href="tel:+79957896256" class="t-phone" rel="nofollow" title=""><span>+7(995)</span> 789-62-56</a> <a onclick="$('.ypi-cr-phone').next().toggleClass('hidden');" rel="nofollow" title=""><i class="material-icons">&#xE313;</i></a> <div class="aditional-links hidden-phone"> {if $addons.call_requests.status == "A"} {$obj_prefix = 'block'} {$obj_id = $block.snapping_id|default:0} {include file="common/popupbox.tpl" href="call_requests.request?obj_prefix={$obj_prefix}&obj_id={$obj_id}" link_text=__("call_requests.request_call") text=__("call_requests.request_call") id="call_request_{$obj_prefix}{$obj_id}" content="" } {/if} <a href="{"pages.view&page_id=29"|fn_url}" class="l-contacts hidden-tablet" rel="nofollow" title="">{__("abt__yt_contacts")}</a> </div> </div> <div class="ypi-cr-link pop-up-box hidden"> <a class="closer" onclick="$('.ypi-cr-phone').next().addClass('hidden');" title=""><i class="material-icons">&#xE5CD;</i></a> <div class="ty-cr-work"><b>Режим работы магазина:</b></div> <div class="ty-cr-work">Понедельник - Воскресенье с 10.00 до 19.00 без перерыва</div> <div class="ty-cr-work">Интернет магазин принимает заказы через Корзину<b> в круглосуточном режиме 24/7</b></div> <div class="ty-cr-work">Обработка заявок происходит в соответствии с графиком работы</div> <a href="tel:+79957896256" class="n-phone" rel="nofollow" title=""><span>+7(995)</span> 789-62-56</a><br> <div class="visible-phone"> <a href="{"pages.view&page_id=29"|fn_url}" class="l-contacts" rel="nofollow" title="">{__("abt__yt_contacts")}</a> </div> </div> </div>";} 0 869 2 A safe_smarty_block a:1:{s:8:"template";s:28:"blocks/safe_smarty_block.tpl";} 0 1 N 100 ru Обратный звонок
101 7 0 114 ypi-search 3 A template a:1:{s:8:"template";s:34:"blocks/static_templates/search.tpl";} 0 1 N 100 ru Поиск
98 70 0 106 3 D languages a:4:{s:8:"template";s:20:"blocks/languages.tpl";s:4:"text";s:0:"";s:6:"format";s:4:"name";s:14:"dropdown_limit";s:1:"0";} 0 1 N 100 ru Языки
111 84 a:1:{s:4:"menu";s:1:"4";} 0 124 footer-menu-create-orders 3 D menu a:2:{s:8:"template";s:26:"blocks/menu/text_links.tpl";s:18:"show_items_in_line";s:1:"N";} 0 1 N 100 ru Create order
98 3 a:1:{s:4:"menu";s:1:"5";} 0 107 top-menu-text-links hidden-phone 4 D menu a:2:{s:8:"template";s:26:"blocks/menu/text_links.tpl";s:18:"show_items_in_line";s:1:"Y";} 0 1 N 100 ru Быстрые ссылки