Query time 0.00082
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "36.48"
},
"ordering_operation": {
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_settings_objects",
"access_type": "ref",
"possible_keys": [
"section_id"
],
"key": "section_id",
"used_key_parts": [
"section_id"
],
"key_length": "4",
"ref": [
"const"
],
"rows_examined_per_scan": 16,
"rows_produced_per_join": 14,
"filtered": "90.00",
"index_condition": "(`webmarco`.`cscart_settings_objects`.`section_id` <=> 191)",
"cost_info": {
"read_cost": "16.00",
"eval_cost": "2.88",
"prefix_cost": "19.20",
"data_read_per_join": "11K"
},
"used_columns": [
"object_id",
"edition_type",
"name",
"section_id",
"section_tab_id",
"type",
"value",
"position",
"is_global"
],
"attached_condition": "((find_in_set('STOREFRONT',`webmarco`.`cscart_settings_objects`.`edition_type`) or find_in_set('ROOT',`webmarco`.`cscart_settings_objects`.`edition_type`) or find_in_set('MVE:STOREFRONT',`webmarco`.`cscart_settings_objects`.`edition_type`) or find_in_set('MVE:ROOT',`webmarco`.`cscart_settings_objects`.`edition_type`)) and (`webmarco`.`cscart_settings_objects`.`type` <> 'H'))"
}
},
{
"table": {
"table_name": "storefront_values",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"storefront_id",
"company_id"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"company_id",
"storefront_id"
],
"key_length": "11",
"ref": [
"webmarco.cscart_settings_objects.object_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 14,
"filtered": "100.00",
"cost_info": {
"read_cost": "14.40",
"eval_cost": "2.88",
"prefix_cost": "36.48",
"data_read_per_join": "345"
},
"used_columns": [
"object_id",
"company_id",
"value",
"storefront_id"
]
}
}
]
}
}
}
Result
object_id |
name |
section_id |
section_tab_id |
type |
position |
is_global |
description |
value |
6168 |
position |
191 |
192 |
S |
0 |
N |
position |
bottom_right |
6169 |
transition |
191 |
192 |
I |
10 |
N |
transition |
600 |
6170 |
icon |
191 |
192 |
S |
20 |
N |
icon |
arrow_3 |
6171 |
margin_top |
191 |
192 |
I |
30 |
N |
margin_top |
0 |
6172 |
margin_right |
191 |
192 |
I |
40 |
N |
margin_right |
10 |
6173 |
margin_bottom |
191 |
192 |
I |
50 |
N |
margin_bottom |
10 |
6174 |
margin_left |
191 |
192 |
I |
60 |
N |
margin_left |
0 |
6175 |
font_size |
191 |
192 |
I |
70 |
N |
font_size |
40 |
6176 |
units |
191 |
192 |
S |
80 |
N |
units |
px |
6177 |
font_weight |
191 |
192 |
S |
90 |
N |
font_weight |
normal |
6178 |
color |
191 |
192 |
E |
100 |
N |
color |
color.tpl |
6179 |
hide_on_mobile |
191 |
192 |
C |
110 |
N |
hide_on_mobile |
N |
6180 |
show_in_admin_panel |
191 |
192 |
C |
120 |
N |
show_in_admin_panel |
N |
6181 |
ab__stt_color |
191 |
192 |
D |
130 |
N |
ab__stt_color |
#8e7cc3 |
6182 |
code |
191 |
192 |
D |
140 |
N |
code |
ABA-yH3jMbBYo3nJ97odHyD5h |
6183 |
build |
191 |
192 |
D |
150 |
N |
build |
767 |