SELECT 
  netting_bm_snapping.grid_id as grid_id, 
  netting_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, 
  netting_bm_block_statuses.object_ids as object_ids, 
  netting_bm_snapping.*, 
  netting_bm_blocks.*, 
  netting_bm_blocks_descriptions.* 
FROM 
  netting_bm_snapping 
  LEFT JOIN netting_bm_blocks ON netting_bm_blocks.block_id = netting_bm_snapping.block_id 
  LEFT JOIN netting_bm_block_statuses ON netting_bm_snapping.snapping_id = netting_bm_block_statuses.snapping_id 
  AND netting_bm_block_statuses.object_type LIKE '' 
  LEFT JOIN netting_bm_blocks_descriptions ON netting_bm_blocks.block_id = netting_bm_blocks_descriptions.block_id 
  LEFT JOIN netting_bm_blocks_content AS default_content ON netting_bm_blocks.block_id = default_content.block_id 
  AND netting_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 netting_bm_blocks_content AS dynamic_object_content ON netting_bm_blocks.block_id = dynamic_object_content.block_id 
  AND netting_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 
  netting_bm_snapping.grid_id IN (
    963, 964, 965, 969, 966, 967, 968, 972, 
    977, 973, 974, 975, 976, 978, 979, 1037, 
    1038
  ) 
  AND netting_bm_blocks_descriptions.lang_code = 'en' 
ORDER BY 
  netting_bm_snapping.order, 
  netting_bm_snapping.block_id

Query time 0.00132

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "read_sorted_file": {
          "filesort": {
            "sort_key": "netting_bm_snapping.`order`, netting_bm_snapping.block_id",
            "table": {
              "table_name": "netting_bm_snapping",
              "access_type": "range",
              "possible_keys": ["grid_id"],
              "key": "grid_id",
              "key_length": "4",
              "used_key_parts": ["grid_id"],
              "rows": 26,
              "filtered": 100,
              "index_condition": "netting_bm_snapping.grid_id in (963,964,965,969,966,967,968,972,977,973,974,975,976,978,979,1037,1038)"
            }
          }
        }
      },
      {
        "table": {
          "table_name": "netting_bm_blocks",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "4",
          "used_key_parts": ["block_id"],
          "ref": ["pucuda_cscart.netting_bm_snapping.block_id"],
          "rows": 1,
          "filtered": 100
        }
      },
      {
        "table": {
          "table_name": "netting_bm_blocks_descriptions",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "10",
          "used_key_parts": ["block_id", "lang_code"],
          "ref": ["pucuda_cscart.netting_bm_snapping.block_id", "const"],
          "rows": 1,
          "filtered": 100,
          "index_condition": "netting_bm_blocks_descriptions.lang_code = 'en'"
        }
      },
      {
        "table": {
          "table_name": "netting_bm_block_statuses",
          "access_type": "ref",
          "possible_keys": ["snapping_id"],
          "key": "snapping_id",
          "key_length": "4",
          "used_key_parts": ["snapping_id"],
          "ref": ["pucuda_cscart.netting_bm_snapping.snapping_id"],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "trigcond(netting_bm_snapping.snapping_id = netting_bm_block_statuses.snapping_id and netting_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": [
            "pucuda_cscart.netting_bm_snapping.block_id",
            "const",
            "pucuda_cscart.netting_bm_blocks_descriptions.lang_code",
            "const"
          ],
          "rows": 2,
          "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": ["pucuda_cscart.netting_bm_snapping.block_id"],
          "rows": 8,
          "filtered": 100,
          "attached_condition": "trigcond(dynamic_object_content.lang_code = netting_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 lang_code name
1037 10 0 1245 0 A breadcrumbs a:1:{s:8:"template";s:22:"common/breadcrumbs.tpl";} 0 1 en Breadcrumbs
1038 11 0 1246 blocks/wrappers/mainbox_general.tpl 0 A main 0 1 en Main Content
973 75 0 1174 blocks/wrappers/footer_general.tpl 0 A template a:1:{s:8:"template";s:44:"blocks/static_templates/my_account_links.tpl";} 0 1 en My account
964 101 a:1:{s:4:"menu";s:1:"1";} 0 1160 top-quick-links hidden-phone 0 A menu a:4:{s:8:"template";s:26:"blocks/menu/text_links.tpl";s:18:"show_items_in_line";s:1:"Y";s:22:"abt__ut2_demo_block_id";s:8:"top_menu";s:27:"open_on_sticky_panel_button";s:1:"N";} 0 1 en Quick links
976 112 a:1:{s:7:"content";s:702:"<ul> <li>г. {$settings.Company.company_city}, {$settings.Company.company_address}</li> <li><a href="tel:{$settings.Company.company_phone}"><bdi>{$settings.Company.company_phone}</bdi> </a></li> <li><a href="tel:{$settings.Company.company_phone_2}"><bdi>{$settings.Company.company_phone_2}</bdi></a></li> <li>{__('weekday_abr_1')}-{__('weekday_abr_0')} M-F 8am-5pm</li> <li> 24/7 Customer Service</li> <li><a class="ty-exception__links-a greeny" href="mailto:{$settings.Company.company_users_department}">{$settings.Company.company_users_department}</a></li> <li><a href="{'pages.view&page_id=20'|fn_url}" class="ty-exception__links-a">{__('view_on_map')}</a></li> </ul>";} 0 1177 blocks/wrappers/footer_general.tpl footer-no-wysiwyg 0 A safe_smarty_block a:5:{s:8:"template";s:28:"blocks/safe_smarty_block.tpl";s:22:"abt__ut2_demo_block_id";s:0:"";s:23:"skeleton_height_desktop";s:0:"";s:22:"skeleton_height_tablet";s:0:"";s:22:"skeleton_height_mobile";s:0:"";} 0 1 en Contact us
968 192 0 1168 hidden-phone 0 A template a:2:{s:8:"template";s:49:"blocks/static_templates/abt__ut2__top_buttons.tpl";s:22:"abt__ut2_demo_block_id";s:0:"";} 0 1 en AB: Buttons Compare and Wishlist
966 210 a:1:{s:13:"settings_link";s:0:"";} 0 1163 0 A abt__ut2_fly_menu a:10:{s:8:"template";s:50:"addons/abt__unitheme2/blocks/abt__ut2_fly_menu.tpl";s:19:"abt_menu_icon_items";s:1:"Y";s:36:"no_hidden_elements_second_level_view";s:2:"10";s:36:"elements_per_column_third_level_view";s:1:"5";s:19:"abt__ut2_show_title";s:1:"N";s:22:"abt__ut2_demo_block_id";s:0:"";s:23:"skeleton_height_desktop";s:0:"";s:22:"skeleton_height_tablet";s:0:"";s:22:"skeleton_height_mobile";s:0:"";s:27:"open_on_sticky_panel_button";s:1:"Y";} 0 1 en Menu
967 212 a:1:{s:4:"menu";s:1:"2";} 0 1165 blocks/wrappers/onclick_dropdown.tpl top-menu-grid-vetrtical hidden-phone 0 A menu a:16:{s:8:"template";s:46:"blocks/menu/abt__ut2_dropdown_vertical_mwi.tpl";s:21:"abt__ut2_filling_type";s:14:"column_filling";s:22:"abt__ut2_columns_count";s:1:"4";s:22:"abt__menu_compact_view";s:1:"N";s:19:"abt_menu_icon_items";s:1:"Y";s:36:"no_hidden_elements_second_level_view";s:1:"6";s:36:"elements_per_column_third_level_view";s:2:"10";s:30:"dropdown_second_level_elements";s:2:"12";s:29:"dropdown_third_level_elements";s:1:"6";s:31:"abt__ut2_view_more_btn_behavior";s:10:"view_items";s:24:"abt__ut2_menu_min_height";s:3:"490";s:22:"abt__ut2_demo_block_id";s:9:"main_menu";s:23:"skeleton_height_desktop";s:0:"";s:22:"skeleton_height_tablet";s:0:"";s:22:"skeleton_height_mobile";s:0:"";s:27:"open_on_sticky_panel_button";s:1:"Y";} 0 1 en Categories
979 235 a:1:{s:7:"content";s:424:"<div class="ty-payment-icons-custom"> <img src="design/themes/responsive/media/images/addons/stripe/payments/stripe_checkout_mark.png" width="51px" height="32px"> <img src="design/themes/responsive/media/images/addons/stripe/payments/google_pay_mark.png" width="51px" height="32px"> <img src="design/themes/responsive/media/images/addons/stripe/payments/apple_pay_mark.png" width="51px" height="32px"> </div>";} 0 1549 0 A html_block a:5:{s:8:"template";s:21:"blocks/html_block.tpl";s:22:"abt__ut2_demo_block_id";s:0:"";s:23:"skeleton_height_desktop";s:0:"";s:22:"skeleton_height_tablet";s:0:"";s:22:"skeleton_height_mobile";s:0:"";} 0 1 en Custom payment icons
1038 236 0 1550 0 A cp_installment_payment_notices a:8:{s:8:"template";s:55:"addons/cp_installment_payments/blocks/cp_ip_notices.tpl";s:22:"abt__ut2_demo_block_id";s:0:"";s:23:"skeleton_height_desktop";s:0:"";s:22:"skeleton_height_tablet";s:0:"";s:22:"skeleton_height_mobile";s:0:"";s:40:"cp_ip_display_products_with_available_ip";s:1:"Y";s:34:"cp_ip_display_authorization_notice";s:1:"Y";s:39:"cp_ip_display_closest_installment_limit";s:1:"Y";} 0 1 en Installment Notices
963 238 0 1553 0 A location_selector a:5:{s:8:"template";s:52:"addons/vendor_locations/blocks/location_selector.tpl";s:22:"abt__ut2_demo_block_id";s:0:"";s:23:"skeleton_height_desktop";s:0:"";s:22:"skeleton_height_tablet";s:0:"";s:22:"skeleton_height_mobile";s:0:"";} 0 1 en Customer Location
974 77 a:1:{s:7:"content";s:624:"<ul id="demo_store_links"> <li class="ty-footer-menu__item"><a href="{"pages.view?page_id=2"|fn_url}">About us</a></li> <li class="ty-footer-menu__item"><a href="{"pages.view?page_id=30"|fn_url}">Contact us</a></li> <li class="ty-footer-menu__item"><a href="{"gift_certificates.add"|fn_url}">Gift certificates</a></li> <li class="ty-footer-menu__item"><a href="https://netting.com/index.php?dispatch=companies.catalog">Our brands</a></li> <li class="ty-footer-menu__item"><a href="{"pages.view?page_id=7"|fn_url}">Blog</a></li> <li class="ty-footer-menu__item"><a href="{"sitemap.view"|fn_url}">Sitemap</a></li> </ul>";} 0 1175 blocks/wrappers/footer_general.tpl footer-no-wysiwyg 1 A safe_smarty_block a:5:{s:8:"template";s:28:"blocks/safe_smarty_block.tpl";s:22:"abt__ut2_demo_block_id";s:0:"";s:23:"skeleton_height_desktop";s:0:"";s:22:"skeleton_height_tablet";s:0:"";s:22:"skeleton_height_mobile";s:0:"";} 0 1 en netting.com
964 102 0 1161 top-currencies 1 A currencies a:4:{s:8:"template";s:21:"blocks/currencies.tpl";s:22:"abt__ut2_demo_block_id";s:0:"";s:6:"format";s:6:"symbol";s:14:"dropdown_limit";s:1:"0";} 0 1 en Currencies
968 111 0 1169 ut2-top-my-account hidden-phone 1 A my_account a:1:{s:8:"template";s:21:"blocks/my_account.tpl";} 0 1 en Account
967 213 0 1166 ut2-search 1 A template a:2:{s:8:"template";s:34:"blocks/static_templates/search.tpl";s:22:"abt__ut2_demo_block_id";s:0:"";} 0 1 en Search
978 18 0 1178 2 A template a:1:{s:8:"template";s:37:"blocks/static_templates/copyright.tpl";} 0 1 en Copyright
979 19 0 1179 2 D template a:5:{s:8:"template";s:41:"blocks/static_templates/payment_icons.tpl";s:22:"abt__ut2_demo_block_id";s:0:"";s:23:"skeleton_height_desktop";s:0:"";s:22:"skeleton_height_tablet";s:0:"";s:22:"skeleton_height_mobile";s:0:"";} 0 1 en Payment icons
975 78 a:1:{s:7:"content";s:750:" <ul id="customer_service_links"> <li class="ty-footer-menu__item"><a href="{"orders.search"|fn_url}" rel="nofollow">About your order</a></li> {if $addons.wishlist && $addons.wishlist.status == 'A'} <li class="ty-footer-menu__item"><a href="{"wishlist.view"|fn_url}" rel="nofollow">Wishlist</a></li> {/if} {if $settings.General.enable_compare_products == 'Y'} <li class="ty-footer-menu__item"><a href="{"product_features.compare"|fn_url}" rel="nofollow">Comparison list</a></li> {/if} </ul>";} 0 1176 blocks/wrappers/footer_general.tpl footer-no-wysiwyg 2 A safe_smarty_block a:1:{s:8:"template";s:28:"blocks/safe_smarty_block.tpl";} 0 1 en Customer Service
964 103 a:1:{s:4:"text";s:0:"";} 0 1162 top-languages 2 A languages a:4:{s:8:"template";s:20:"blocks/languages.tpl";s:22:"abt__ut2_demo_block_id";s:0:"";s:6:"format";s:22:"ab__name_without_icons";s:14:"dropdown_limit";s:1:"0";} 0 1 en Languages
967 107 0 1167 2 A template a:6:{s:8:"template";s:46:"blocks/static_templates/abt__ut2__contacts.tpl";s:49:"abt__ut2__block_contacts_show_call_request_button";s:1:"Y";s:44:"abt__ut2__block_contacts_show_social_buttons";s:1:"Y";s:35:"abt__ut2__block_contacts_show_email";s:1:"Y";s:36:"abt__ut2__block_contacts_show_addres";s:1:"Y";s:22:"abt__ut2_demo_block_id";s:0:"";} 0 1 en Contacts
968 110 0 1170 ut2-top-cart-content 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 en Cart content
969 214 a:1:{s:4:"menu";s:1:"6";} 0 1171 2 A menu a:16:{s:8:"template";s:48:"blocks/menu/abt__ut2_dropdown_horizontal_mwi.tpl";s:19:"abt_menu_long_names";s:1:"N";s:29:"abt_menu_long_names_max_width";s:3:"110";s:40:"abt__menu_add_horizontal_scroll_sections";s:1:"Y";s:21:"abt__ut2_filling_type";s:14:"column_filling";s:22:"abt__ut2_columns_count";s:1:"5";s:22:"abt__menu_compact_view";s:1:"N";s:19:"abt_menu_icon_items";s:1:"Y";s:36:"no_hidden_elements_second_level_view";s:1:"5";s:36:"elements_per_column_third_level_view";s:2:"30";s:30:"dropdown_second_level_elements";s:2:"30";s:29:"dropdown_third_level_elements";s:2:"30";s:31:"abt__ut2_view_more_btn_behavior";s:10:"view_items";s:24:"abt__ut2_menu_min_height";s:3:"450";s:22:"abt__ut2_demo_block_id";s:9:"main_menu";s:27:"open_on_sticky_panel_button";s:1:"N";} 0 1 en Main menu
966 205 0 1164 top-logo 5 A template a:3:{s:8:"template";s:32:"blocks/static_templates/logo.tpl";s:11:"enable_link";s:1:"Y";s:17:"abt__ut2_fly_menu";s:8:"top_logo";} 0 1 en Logo