Query time 0.00143
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.09281304,
"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": 31,
"cost": 0.03571936,
"filtered": 100,
"attached_condition": "cscart_settings_objects.section_id <=> 22 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": 31,
"rows": 1,
"cost": 0.02854684,
"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": 31,
"rows": 1,
"cost": 0.02854684,
"filtered": 100
}
}
]
}
}
Result
| object_id |
name |
section_id |
section_tab_id |
type |
position |
is_global |
description |
value |
| 5682 |
twitter_enable |
22 |
23 |
C |
0 |
N |
twitter_enable |
Y |
| 5687 |
facebook_enable |
22 |
24 |
C |
0 |
N |
facebook_enable |
Y |
| 5699 |
vkontakte_enable |
22 |
25 |
C |
0 |
N |
vkontakte_enable |
|
| 5706 |
yandex_enable |
22 |
26 |
C |
0 |
N |
yandex_enable |
Y |
| 5709 |
pinterest_enable |
22 |
27 |
C |
0 |
N |
pinterest_enable |
Y |
| 5683 |
twitter_via |
22 |
23 |
I |
10 |
N |
twitter_via |
|
| 5688 |
facebook_app_id |
22 |
24 |
I |
10 |
N |
facebook_app_id |
|
| 5700 |
vkontakte_appid |
22 |
25 |
I |
10 |
N |
vkontakte_appid |
|
| 5707 |
yandex_share_code |
22 |
26 |
T |
10 |
N |
yandex_share_code |
<div class="ya-share2" data-services="collections,vkontakte,facebook,twitter,odnoklassniki,moimir"></div> |
| 5710 |
pinterest_size |
22 |
27 |
S |
10 |
N |
pinterest_size |
20 |
| 5684 |
twitter_size |
22 |
23 |
S |
20 |
N |
twitter_size |
medium |
| 5689 |
facebook_href |
22 |
24 |
I |
20 |
N |
facebook_href |
|
| 5701 |
vkontakte_button_style |
22 |
25 |
S |
20 |
N |
vkontakte_button_style |
mini |
| 5708 |
yandex_display_on |
22 |
26 |
N |
20 |
N |
yandex_display_on |
products,pages |
| 5711 |
pinterest_shape |
22 |
27 |
S |
20 |
N |
pinterest_shape |
rect |
| 5685 |
twitter_display_count |
22 |
23 |
S |
30 |
N |
twitter_display_count |
horizontal |
| 5690 |
facebook_send |
22 |
24 |
C |
30 |
N |
facebook_send |
Y |
| 5702 |
vkontakte_height |
22 |
25 |
I |
30 |
N |
vkontakte_height |
22 |
| 5712 |
pinterest_display_on |
22 |
27 |
N |
30 |
N |
pinterest_display_on |
#M#products=Y |
| 5686 |
twitter_display_on |
22 |
23 |
N |
40 |
N |
twitter_display_on |
#M#products=Y |
| 5691 |
facebook_width |
22 |
24 |
I |
40 |
N |
facebook_width |
450 |
| 5703 |
vkontakte_width |
22 |
25 |
I |
40 |
N |
vkontakte_width |
350 |
| 5692 |
facebook_layout |
22 |
24 |
S |
50 |
N |
facebook_layout |
button_count |
| 5704 |
vkontakte_buttons_name |
22 |
25 |
S |
50 |
N |
vkontakte_buttons_name |
like |
| 5693 |
facebook_show_faces |
22 |
24 |
C |
60 |
N |
facebook_show_faces |
N |
| 5705 |
vkontakte_display_on |
22 |
25 |
N |
60 |
N |
vkontakte_display_on |
|
| 5694 |
facebook_action |
22 |
24 |
S |
70 |
N |
facebook_action |
like |
| 5695 |
facebook_lang |
22 |
24 |
S |
80 |
N |
facebook_lang |
en_US |
| 5696 |
facebook_action_font |
22 |
24 |
S |
90 |
N |
facebook_action_font |
arial |
| 5697 |
facebook_colorscheme |
22 |
24 |
S |
100 |
N |
facebook_colorscheme |
light |
| 5698 |
facebook_display_on |
22 |
24 |
N |
110 |
N |
facebook_display_on |
#M#products=Y |