Query time 0.00071
    
    
            JSON explain
        {
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "5.48"
    },
    "ordering_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "0.10"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_product_tabs_descriptions",
            "access_type": "ALL",
            "possible_keys": [
              "PRIMARY"
            ],
            "rows_examined_per_scan": 10,
            "rows_produced_per_join": 1,
            "filtered": "10.00",
            "cost_info": {
              "read_cost": "3.86",
              "eval_cost": "0.20",
              "prefix_cost": "4.06",
              "data_read_per_join": "784"
            },
            "used_columns": [
              "tab_id",
              "lang_code",
              "name"
            ],
            "attached_condition": "((`atulecarter_atul_demo5`.`cscart_product_tabs_descriptions`.`lang_code` = 'en') and (`atulecarter_atul_demo5`.`cscart_product_tabs_descriptions`.`tab_id` is not null))"
          }
        },
        {
          "table": {
            "table_name": "cscart_product_tabs",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "tab_id"
            ],
            "key_length": "3",
            "ref": [
              "atulecarter_atul_demo5.cscart_product_tabs_descriptions.tab_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "10.00",
            "cost_info": {
              "read_cost": "1.00",
              "eval_cost": "0.02",
              "prefix_cost": "5.26",
              "data_read_per_join": "90"
            },
            "used_columns": [
              "tab_id",
              "tab_type",
              "block_id",
              "template",
              "addon",
              "position",
              "status",
              "is_primary",
              "product_ids",
              "company_id",
              "show_in_popup"
            ],
            "attached_condition": "(`atulecarter_atul_demo5`.`cscart_product_tabs`.`company_id` = 1)"
          }
        },
        {
          "table": {
            "table_name": "cscart_bm_blocks",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "block_id"
            ],
            "key_length": "4",
            "ref": [
              "atulecarter_atul_demo5.cscart_product_tabs.block_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 0,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "0.10",
              "eval_cost": "0.02",
              "prefix_cost": "5.38",
              "data_read_per_join": "22"
            },
            "used_columns": [
              "block_id",
              "type",
              "properties",
              "company_id",
              "storefront_id"
            ],
            "attached_condition": "<if>(is_not_null_compl(cscart_bm_blocks), (`atulecarter_atul_demo5`.`cscart_bm_blocks`.`block_id` = `atulecarter_atul_demo5`.`cscart_product_tabs`.`block_id`), true)"
          }
        }
      ]
    }
  }
}
    
            
            
                Result
                                    
                                                    | tab_id | tab_type | block_id | template | addon | position | status | is_primary | product_ids | company_id | show_in_popup | lang_code | name | type | properties | storefront_id | 
                                            
                                                            | 1 | T | 0 | blocks/product_tabs/description.tpl |  | 1 | A | Y |  | 1 | N | en | Description |  |  |  | 
                                            
                                                            | 2 | T | 0 | blocks/product_tabs/features.tpl |  | 2 | A | Y |  | 1 | N | en | Features |  |  |  | 
                                            
                                                            | 3 | T | 0 | blocks/product_tabs/files.tpl |  | 3 | A | Y |  | 1 | N | en | Files |  |  |  | 
                                            
                                                            | 4 | T | 0 | addons/tags/blocks/product_tabs/tags.tpl | tags | 4 | A | Y |  | 1 | N | en | Tags |  |  |  | 
                                            
                                                            | 5 | T | 0 | addons/attachments/blocks/product_tabs/attachments.tpl | attachments | 5 | A | Y |  | 1 | N | en | Attachments |  |  |  | 
                                            
                                                            | 6 | B | 52 |  | product_variations | 6 | A | N |  | 1 | Y | en | View all variations as list | products | a:5:{s:8:"template";s:61:"addons/product_variations/blocks/products/variations_list.tpl";s:46:"product_variations.hide_add_to_wishlist_button";s:1:"N";s:23:"hide_add_to_cart_button";s:1:"N";s:36:"product_variations.show_product_code";s:1:"Y";s:44:"product_variations.show_variation_thumbnails";s:1:"Y";} | 1 | 
                                            
                                                            | 7 | B | 53 | addons/product_bundles/blocks/product_bundles.tpl | product_bundles | 7 | A | N |  | 1 | N | en | Bundles with this product | product_bundles | a:1:{s:8:"template";s:49:"addons/product_bundles/blocks/product_bundles.tpl";} | 1 | 
                                            
                                                            | 8 | T | 0 | addons/discussion/blocks/product_tabs/discussion.tpl | discussion | 8 | A | Y |  | 1 | N | en | Reviews |  |  |  | 
                                            
                                                            | 9 | T | 0 | addons/product_reviews/blocks/product_tabs/product_reviews.tpl | product_reviews | 9 | A | Y |  | 1 | N | en | Reviews |  |  |  | 
                                            
                                                            | 10 | T | 0 | addons/required_products/blocks/product_tabs/required_products.tpl | required_products | 10 | A | Y |  | 1 | N | en | Required products |  |  |  |