Query time 0.00126
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.03438432,
"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": 10,
"cost": 0.01485712,
"filtered": 100,
"attached_condition": "cscart_settings_objects.section_id <=> 35 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": 10,
"rows": 1,
"cost": 0.0097636,
"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": 10,
"rows": 1,
"cost": 0.0097636,
"filtered": 100
}
}
]
}
}
Result
| object_id |
name |
section_id |
section_tab_id |
type |
position |
is_global |
description |
value |
| 5727 |
newsletters_per_pass |
35 |
36 |
I |
0 |
N |
newsletters_per_pass |
10 |
| 5736 |
coupon |
35 |
37 |
S |
0 |
N |
coupon |
|
| 5729 |
mailer_send_method |
35 |
36 |
S |
20 |
N |
mailer_send_method |
default |
| 5731 |
mailer_smtp_host |
35 |
36 |
I |
40 |
N |
mailer_smtp_host |
|
| 5732 |
mailer_smtp_username |
35 |
36 |
I |
50 |
N |
mailer_smtp_username |
|
| 5733 |
mailer_smtp_password |
35 |
36 |
I |
60 |
N |
mailer_smtp_password |
|
| 5734 |
mailer_smtp_ecrypted_connection |
35 |
36 |
S |
70 |
N |
mailer_smtp_ecrypted_connection |
none |
| 5735 |
mailer_smtp_auth |
35 |
36 |
C |
80 |
N |
mailer_smtp_auth |
N |