Query time 0.00105
    
    
            JSON explain
        {
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "141.21"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "69.00"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_bm_snapping",
            "access_type": "range",
            "possible_keys": [
              "grid_id"
            ],
            "key": "grid_id",
            "used_key_parts": [
              "grid_id"
            ],
            "key_length": "4",
            "rows_examined_per_scan": 23,
            "rows_produced_per_join": 23,
            "filtered": "100.00",
            "index_condition": "(`betaatif_store`.`cscart_bm_snapping`.`grid_id` in (96,97,98,99,100,101,102,103,106,109,114,107,108,110,111,112,113,115,116,149,150,151))",
            "cost_info": {
              "read_cost": "13.56",
              "eval_cost": "2.30",
              "prefix_cost": "15.86",
              "data_read_per_join": "17K"
            },
            "used_columns": [
              "snapping_id",
              "block_id",
              "grid_id",
              "wrapper",
              "user_class",
              "order",
              "status"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_bm_block_statuses",
            "access_type": "ref",
            "possible_keys": [
              "snapping_id"
            ],
            "key": "snapping_id",
            "used_key_parts": [
              "snapping_id"
            ],
            "key_length": "4",
            "ref": [
              "betaatif_store.cscart_bm_snapping.snapping_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 23,
            "filtered": "100.00",
            "index_condition": "<if>(is_not_null_compl(cscart_bm_block_statuses), ((`betaatif_store`.`cscart_bm_snapping`.`snapping_id` = `betaatif_store`.`cscart_bm_block_statuses`.`snapping_id`) and (`betaatif_store`.`cscart_bm_block_statuses`.`object_type` like 'pages')), true)",
            "cost_info": {
              "read_cost": "5.75",
              "eval_cost": "2.30",
              "prefix_cost": "23.91",
              "data_read_per_join": "2K"
            },
            "used_columns": [
              "snapping_id",
              "object_ids",
              "object_type"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_bm_blocks",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "block_id"
            ],
            "key_length": "4",
            "ref": [
              "betaatif_store.cscart_bm_snapping.block_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 23,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "5.75",
              "eval_cost": "2.30",
              "prefix_cost": "31.96",
              "data_read_per_join": "5K"
            },
            "used_columns": [
              "block_id",
              "type",
              "properties",
              "company_id",
              "storefront_id"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_bm_blocks_descriptions",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "block_id",
              "lang_code"
            ],
            "key_length": "10",
            "ref": [
              "betaatif_store.cscart_bm_snapping.block_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 23,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "5.75",
              "eval_cost": "2.30",
              "prefix_cost": "40.01",
              "data_read_per_join": "4K"
            },
            "used_columns": [
              "block_id",
              "lang_code",
              "name"
            ]
          }
        },
        {
          "table": {
            "table_name": "default_content",
            "access_type": "ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "block_id",
              "snapping_id",
              "lang_code",
              "object_id"
            ],
            "key_length": "18",
            "ref": [
              "betaatif_store.cscart_bm_snapping.block_id",
              "const",
              "betaatif_store.cscart_bm_blocks_descriptions.lang_code",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 23,
            "filtered": "100.00",
            "index_condition": "<if>(is_not_null_compl(default_content), (`betaatif_store`.`default_content`.`object_type` like ''), true)",
            "cost_info": {
              "read_cost": "5.75",
              "eval_cost": "2.30",
              "prefix_cost": "48.06",
              "data_read_per_join": "5K"
            },
            "used_columns": [
              "snapping_id",
              "object_id",
              "object_type",
              "block_id",
              "lang_code",
              "content"
            ]
          }
        },
        {
          "table": {
            "table_name": "dynamic_object_content",
            "access_type": "ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "block_id"
            ],
            "key_length": "4",
            "ref": [
              "betaatif_store.cscart_bm_snapping.block_id"
            ],
            "rows_examined_per_scan": 3,
            "rows_produced_per_join": 69,
            "filtered": "100.00",
            "index_condition": "<if>(is_not_null_compl(dynamic_object_content), ((`betaatif_store`.`dynamic_object_content`.`object_id` = 26) and (`betaatif_store`.`dynamic_object_content`.`lang_code` = `betaatif_store`.`cscart_bm_blocks_descriptions`.`lang_code`) and (`betaatif_store`.`dynamic_object_content`.`object_type` like 'pages')), true)",
            "cost_info": {
              "read_cost": "17.25",
              "eval_cost": "6.90",
              "prefix_cost": "72.21",
              "data_read_per_join": "15K"
            },
            "used_columns": [
              "object_id",
              "object_type",
              "block_id",
              "lang_code",
              "content"
            ]
          }
        }
      ]
    }
  }
}
    
            
            
                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 | 
                                            
                                                            | 98 | 4 |  | 0 |  |  | 104 | blocks/wrappers/onclick_dropdown.tpl | top-my-account | 0 | A | my_account | a:1:{s:8:"template";s:21:"blocks/my_account.tpl";} | 0 | 1 | en | My Account | 
                                            
                                                            | 99 | 5 |  | 0 |  |  | 105 |  | top-logo | 0 | A | template | a:2:{s:8:"template";s:32:"blocks/static_templates/logo.tpl";s:11:"enable_link";s:1:"Y";} | 0 | 1 | en | Logo | 
                                            
                                                            | 101 | 6 |  | 0 |  |  | 107 |  |  | 0 | A | call_request | a:1:{s:8:"template";s:44:"addons/call_requests/blocks/call_request.tpl";} | 0 | 1 | en | Call Request | 
                                            
                                                            | 149 | 10 |  | 0 |  |  | 169 |  |  | 0 | A | breadcrumbs | a:1:{s:8:"template";s:22:"common/breadcrumbs.tpl";} | 0 | 1 | en | Breadcrumbs | 
                                            
                                                            | 151 | 11 |  | 0 |  |  | 171 | blocks/wrappers/mainbox_general.tpl |  | 0 | A | main |  | 0 | 1 | en | Main Content | 
                                            
                                                            | 103 | 64 | a:1:{s:5:"items";a:3:{s:7:"filling";s:13:"full_tree_cat";s:18:"parent_category_id";s:0:"";s:7:"sort_by";s:8:"position";}} | 0 |  |  | 109 |  |  | 0 | A | categories | a:3:{s:8:"template";s:52:"blocks/categories/categories_dropdown_horizontal.tpl";s:30:"dropdown_second_level_elements";s:2:"12";s:29:"dropdown_third_level_elements";s:1:"6";} | 0 | 1 | en | Main menu | 
                                            
                                                            | 110 | 66 |  | 0 |  |  | 114 | 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 | 
                                            
                                                            | 150 | 33 | a:1:{s:5:"items";a:2:{s:7:"filling";s:15:"recent_products";s:5:"limit";s:1:"3";}} | 0 |  |  | 170 | blocks/wrappers/sidebox_important.tpl |  | 1 | A | products | a:3:{s:8:"template";s:40:"blocks/products/products_small_items.tpl";s:11:"item_number";s:1:"N";s:23:"hide_add_to_cart_button";s:1:"Y";} | 0 | 1 | en | Recently Viewed | 
                                            
                                                            | 110 | 67 | a:1:{s:7:"content";s:261:"
<ul id="demo_store_links">
<li class="ty-footer-menu__item"><a href="{"companies.apply_for_vendor"|fn_url}">Apply for a seller account</a></li>
<li class="ty-footer-menu__item"><a href="{"pages.view?page_id=15"|fn_url}">Vendor terms & conditions</a></li>
</ul>";} | 0 |  |  | 115 | blocks/wrappers/footer_general.tpl | footer-no-wysiwyg | 1 | A | smarty_block | a:1:{s:8:"template";s:23:"blocks/smarty_block.tpl";} | 0 | 1 | en | Become a seller | 
                                            
                                                            | 111 | 68 | a:1:{s:7:"content";s:310:"<ul id="demo_store_links">
<li class="ty-footer-menu__item"><a href="{"pages.view?page_id=25"|fn_url}">About us</a></li>
<li class="ty-footer-menu__item"><a href="{"pages.view?page_id=26"|fn_url}">Contact us</a></li>
<li class="ty-footer-menu__item"><a href="{"sitemap.view"|fn_url}">Sitemap</a></li>
</ul>";} | 0 |  |  | 116 | blocks/wrappers/footer_general.tpl | footer-no-wysiwyg | 1 | A | smarty_block | a:2:{s:8:"template";s:23:"blocks/smarty_block.tpl";s:22:"abt__ut2_demo_block_id";s:0:"";} | 0 | 1 | en | About Us | 
                                            
                                                            | 100 | 7 |  | 0 |  |  | 106 |  | top-search | 2 | A | template | a:1:{s:8:"template";s:34:"blocks/static_templates/search.tpl";} | 0 | 1 | en | Search | 
                                            
                                                            | 102 | 8 |  | 0 |  |  | 108 |  | top-cart-content | 2 | A | cart_content | a:5:{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";s:20:"generate_block_title";s:1:"Y";} | 0 | 1 | en | Cart content | 
                                            
                                                            | 108 | 13 | a:1:{s:7:"content";s:627:"<div class="ty-social-link-block"><h3 class="ty-social-link__title">{__("get_social")}</h3>
<div class="ty-social-link facebook">
    <a href="http://www.facebook.com"><i class="ty-icon-facebook"></i>Facebook</a>
</div>
<div class="ty-social-link instagram">
    <a href="https://www.instagram.com"><i class="ty-icon-instagram"></i>Instagram</a>
</div>
<div class="ty-social-link twitter">
    <a href="https://twitter.com"><i class="ty-icon-twitter"></i>Twitter</a>
</div>
<div class="ty-social-link youtube">
    <a href="https://www.youtube.com/user/cscartvideos"><i class="ty-icon-youtube"></i>Youtube</a>
</div></div>
";} | 0 |  |  | 113 |  |  | 2 | A | smarty_block | a:1:{s:8:"template";s:23:"blocks/smarty_block.tpl";} | 0 | 1 | en | Social links | 
                                            
                                                            | 115 | 18 |  | 0 |  |  | 119 |  |  | 2 | A | template | a:1:{s:8:"template";s:37:"blocks/static_templates/copyright.tpl";} | 0 | 1 | en | Copyright | 
                                            
                                                            | 116 | 19 |  | 0 |  |  | 120 |  |  | 2 | A | template | a:1:{s:8:"template";s:41:"blocks/static_templates/payment_icons.tpl";} | 0 | 1 | en | Payment icons | 
                                            
                                                            | 96 | 63 |  | 0 |  |  | 101 |  | top-languages | 2 | A | languages | a:3:{s:8:"template";s:20:"blocks/languages.tpl";s:6:"format";s:4:"name";s:14:"dropdown_limit";s:1:"0";} | 0 | 1 | en | Languages | 
                                            
                                                            | 107 | 65 |  | 0 |  |  | 112 |  |  | 2 | A | template | a:1:{s:8:"template";s:56:"addons/newsletters/blocks/static_templates/subscribe.tpl";} | 0 | 1 | en | Subscribe | 
                                            
                                                            | 112 | 69 | a:1:{s:7:"content";s:490:"
<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 |  |  | 117 | blocks/wrappers/footer_general.tpl | footer-no-wysiwyg | 2 | A | smarty_block | a:2:{s:8:"template";s:23:"blocks/smarty_block.tpl";s:22:"abt__ut2_demo_block_id";s:0:"";} | 0 | 1 | en | Customer Service | 
                                            
                                                            | 96 | 2 |  | 0 |  |  | 102 |  | top-currencies | 3 | A | currencies | a:3:{s:8:"template";s:21:"blocks/currencies.tpl";s:6:"format";s:6:"symbol";s:14:"dropdown_limit";s:1:"3";} | 0 | 1 | en | Currencies | 
                                            
                                                            | 97 | 3 | a:1:{s:4:"menu";s:1:"1";} | 0 |  |  | 103 |  | top-quick-links | 3 | A | menu | a:2:{s:8:"template";s:26:"blocks/menu/text_links.tpl";s:18:"show_items_in_line";s:1:"Y";} | 0 | 1 | en | Quick links |