Query time 0.01525
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 <=> 90 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 |
| 5876 |
notice |
90 |
91 |
O |
0 |
N |
notice |
|
| 5877 |
reviews_per_page |
90 |
91 |
I |
10 |
N |
reviews_per_page |
10 |
| 5878 |
review_approval |
90 |
91 |
S |
20 |
N |
review_approval |
any |
| 5879 |
review_ip_check |
90 |
91 |
C |
30 |
N |
review_ip_check |
N |
| 5880 |
review_fields |
90 |
91 |
S |
40 |
N |
review_fields |
advanced |
| 5881 |
review_after_purchase |
90 |
91 |
C |
50 |
N |
review_after_purchase |
N |
| 5882 |
review_ask_for_customer_location |
90 |
91 |
S |
60 |
N |
review_ask_for_customer_location |
none |
| 5883 |
split_reviews_by_storefronts |
90 |
91 |
C |
70 |
N |
split_reviews_by_storefronts |
N |
| 5884 |
images_upload_allowed |
90 |
91 |
D |
80 |
N |
images_upload_allowed |
Y |
| 5885 |
product_variations |
90 |
91 |
E |
90 |
N |
product_variations |
product_variations.tpl |
| 5886 |
split_reviews_for_variations_as_separate_products |
90 |
91 |
D |
100 |
N |
split_reviews_for_variations_as_separate_products |
Y |