Query time 0.00315
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 <=> 66 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 |
| 5797 |
point_rate |
66 |
67 |
I |
0 |
N |
point_rate |
1 |
| 5798 |
auto_price_in_points |
66 |
67 |
C |
10 |
N |
auto_price_in_points |
Y |
| 5799 |
price_in_points_with_discounts |
66 |
67 |
C |
20 |
N |
price_in_points_with_discounts |
Y |
| 5800 |
points_with_discounts |
66 |
67 |
C |
30 |
N |
points_with_discounts |
Y |
| 5801 |
price_in_points_order_discount |
66 |
67 |
C |
40 |
N |
price_in_points_order_discount |
Y |
| 5802 |
reward_points_order_discount |
66 |
67 |
C |
50 |
N |
reward_points_order_discount |
Y |
| 5803 |
higher_level_extract |
66 |
67 |
C |
60 |
N |
higher_level_extract |
Y |
| 5804 |
several_points_action |
66 |
67 |
S |
70 |
N |
several_points_action |
minimal_absolute |
| 5805 |
consider_zero_values |
66 |
67 |
C |
80 |
N |
consider_zero_values |
N |
| 5806 |
log_per_page |
66 |
67 |
I |
90 |
N |
log_per_page |
10 |