Query time 0.00063
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "20.52"
},
"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": 9,
"rows_produced_per_join": 8,
"filtered": "90.00",
"index_condition": "(`webmarco`.`cscart_settings_objects`.`section_id` <=> 471)",
"cost_info": {
"read_cost": "9.00",
"eval_cost": "1.62",
"prefix_cost": "10.80",
"data_read_per_join": "6K"
},
"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": 8,
"filtered": "100.00",
"cost_info": {
"read_cost": "8.10",
"eval_cost": "1.62",
"prefix_cost": "20.52",
"data_read_per_join": "194"
},
"used_columns": [
"object_id",
"company_id",
"value",
"storefront_id"
]
}
}
]
}
}
}
Result
object_id |
name |
section_id |
section_tab_id |
type |
position |
is_global |
description |
value |
7233 |
pi_storefront_sms_gateway |
471 |
472 |
S |
0 |
N |
pi_storefront_sms_gateway |
tiwilo |
7235 |
tiwilo_account_sid |
471 |
473 |
I |
0 |
N |
tiwilo_account_sid |
ACd2c9c38dd9252e2c1c7e492f9452554a |
7238 |
smsbh_auth_key |
471 |
474 |
I |
0 |
N |
smsbh_auth_key |
|
7240 |
msg91_auth_key |
471 |
475 |
I |
0 |
N |
msg91_auth_key |
|
7234 |
pi_storefront_country |
471 |
472 |
S |
10 |
N |
pi_storefront_country |
|
7236 |
tiwilo_auth_token |
471 |
473 |
I |
10 |
N |
tiwilo_auth_token |
10ab0c52abac0cc35776e74527d5d803 |
7239 |
smsbh_sms_sender |
471 |
474 |
I |
10 |
N |
smsbh_sms_sender |
|
7241 |
msg91_sms_sender |
471 |
475 |
I |
10 |
N |
msg91_sms_sender |
|
7237 |
tiwilo_phone |
471 |
473 |
I |
20 |
N |
tiwilo_phone |
WebMarco |