Query time 0.00179
JSON explain
{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "cscart_settings_objects.position",
"temporary_table": {
"nested_loop": [
{
"table": {
"table_name": "cscart_settings_objects",
"access_type": "ref",
"possible_keys": ["section_id"],
"key": "section_id",
"key_length": "4",
"used_key_parts": ["section_id"],
"ref": ["const"],
"rows": 7,
"filtered": 100,
"attached_condition": "(find_in_set('STOREFRONT',cscart_settings_objects.edition_type) or find_in_set('VENDOR',cscart_settings_objects.edition_type) or find_in_set('ROOT',cscart_settings_objects.edition_type) or find_in_set('MVE:STOREFRONT',cscart_settings_objects.edition_type) or find_in_set('MVE:VENDOR',cscart_settings_objects.edition_type) or find_in_set('MVE:ROOT',cscart_settings_objects.edition_type)) and cscart_settings_objects.`type` <> 'H'"
}
},
{
"block-nl-join": {
"table": {
"table_name": "company_values",
"access_type": "range",
"possible_keys": ["PRIMARY", "storefront_id", "company_id"],
"key": "storefront_id",
"key_length": "4",
"used_key_parts": ["storefront_id"],
"rowid_filter": {
"range": {
"key": "company_id",
"used_key_parts": ["company_id"]
},
"rows": 1,
"selectivity_pct": 0.275482094
},
"rows": 1,
"filtered": 0.275482088,
"attached_condition": "company_values.company_id = 112 and company_values.storefront_id = 1"
},
"buffer_type": "flat",
"buffer_size": "5Kb",
"join_type": "BNL",
"attached_condition": "trigcond(1) and trigcond(company_values.object_id = cscart_settings_objects.object_id and company_values.company_id = 112 and company_values.storefront_id = 1)"
}
},
{
"table": {
"table_name": "storefront_values",
"access_type": "ref",
"possible_keys": ["PRIMARY", "storefront_id", "company_id"],
"key": "storefront_id",
"key_length": "4",
"used_key_parts": ["storefront_id"],
"ref": ["const"],
"rows": 1,
"filtered": 0.550964177,
"attached_condition": "trigcond(storefront_values.object_id = cscart_settings_objects.object_id and storefront_values.company_id = 0)"
}
}
]
}
}
}
}
Result
object_id |
name |
section_id |
section_tab_id |
type |
position |
is_global |
description |
value |
5814 |
seo_product_type |
70 |
71 |
S |
0 |
N |
seo_product_type |
product_category_nohtml |
5815 |
seo_category_type |
70 |
71 |
S |
10 |
N |
seo_category_type |
category_nohtml |
5816 |
seo_page_type |
70 |
71 |
S |
20 |
N |
seo_page_type |
page_nohtml |
5817 |
seo_other_type |
70 |
71 |
S |
30 |
N |
seo_other_type |
directory |
5818 |
seo_language |
70 |
71 |
C |
40 |
N |
seo_language |
N |
5819 |
single_url |
70 |
71 |
C |
50 |
N |
single_url |
Y |
5820 |
non_latin_symbols |
70 |
71 |
C |
60 |
N |
non_latin_symbols |
N |