Query time 0.00111
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.03716664,
"nested_loop": [
{
"read_sorted_file": {
"filesort": {
"sort_key": "cscart_settings_objects.position",
"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"],
"loops": 1,
"rows": 11,
"cost": 0.01585056,
"filtered": 100,
"attached_condition": "cscart_settings_objects.section_id <=> 74 and (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('ULT:STOREFRONT',cscart_settings_objects.edition_type) or find_in_set('ULT:VENDOR',cscart_settings_objects.edition_type) or find_in_set('ULT:ROOT',cscart_settings_objects.edition_type)) and cscart_settings_objects.`type` <> 'H'"
}
}
}
},
{
"table": {
"table_name": "company_values",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "storefront_id", "company_id"],
"key": "PRIMARY",
"key_length": "11",
"used_key_parts": ["object_id", "company_id", "storefront_id"],
"ref": ["lvshop.cscart_settings_objects.object_id", "const", "const"],
"loops": 11,
"rows": 1,
"cost": 0.01065804,
"filtered": 100
}
},
{
"table": {
"table_name": "storefront_values",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "storefront_id", "company_id"],
"key": "PRIMARY",
"key_length": "11",
"used_key_parts": ["object_id", "company_id", "storefront_id"],
"ref": ["lvshop.cscart_settings_objects.object_id", "const", "const"],
"loops": 11,
"rows": 1,
"cost": 0.01065804,
"filtered": 100
}
}
]
}
}
Result
| object_id |
name |
section_id |
section_tab_id |
type |
position |
is_global |
description |
value |
| 5821 |
elm_image_info |
74 |
75 |
O |
10 |
N |
elm_image_info |
|
| 5823 |
type |
74 |
75 |
S |
30 |
N |
type |
C128B |
| 5824 |
output |
74 |
75 |
S |
40 |
N |
output |
png |
| 5825 |
text |
74 |
75 |
S |
50 |
N |
text |
Y |
| 5826 |
height |
74 |
75 |
I |
60 |
N |
height |
60 |
| 5827 |
width |
74 |
75 |
I |
70 |
N |
width |
250 |
| 5828 |
prefix |
74 |
75 |
I |
80 |
N |
prefix |
FF45CR99 |
| 5830 |
elm_spec_descr |
74 |
75 |
O |
100 |
N |
elm_spec_descr |
|