Query time 0.00070
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "5.36"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "1.00"
},
"nested_loop": [
{
"table": {
"table_name": "storefronts_payments",
"access_type": "system",
"rows_examined_per_scan": 0,
"rows_produced_per_join": 1,
"filtered": "0.00",
"const_row_not_found": true,
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.20",
"prefix_cost": "0.00",
"data_read_per_join": "16"
},
"used_columns": [
"storefront_id",
"payment_id"
]
}
},
{
"table": {
"table_name": "cscart_payments",
"access_type": "ALL",
"possible_keys": [
"c_status"
],
"rows_examined_per_scan": 8,
"rows_produced_per_join": 1,
"filtered": "12.50",
"cost_info": {
"read_cost": "3.56",
"eval_cost": "0.20",
"prefix_cost": "3.76",
"data_read_per_join": "2K"
},
"used_columns": [
"payment_id",
"company_id",
"usergroup_ids",
"position",
"status",
"template",
"processor_id",
"processor_params",
"a_surcharge",
"p_surcharge",
"tax_ids",
"localization",
"payment_category"
],
"attached_condition": "((`satishecarter_dec_setup_001`.`cscart_payments`.`status` = 'A') and ((`satishecarter_dec_setup_001`.`cscart_payments`.`usergroup_ids` = '') or find_in_set(0,`satishecarter_dec_setup_001`.`cscart_payments`.`usergroup_ids`) or find_in_set(1,`satishecarter_dec_setup_001`.`cscart_payments`.`usergroup_ids`)))"
}
},
{
"table": {
"table_name": "cscart_payment_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"payment_id",
"lang_code"
],
"key_length": "9",
"ref": [
"satishecarter_dec_setup_001.cscart_payments.payment_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.20",
"prefix_cost": "3.96",
"data_read_per_join": "1K"
},
"used_columns": [
"payment_id",
"payment",
"description",
"instructions",
"surcharge_title",
"lang_code"
]
}
},
{
"table": {
"table_name": "cscart_payment_processors",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"processor_id"
],
"key_length": "3",
"ref": [
"satishecarter_dec_setup_001.cscart_payments.processor_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.20",
"prefix_cost": "4.16",
"data_read_per_join": "3K"
},
"used_columns": [
"processor_id",
"processor_script",
"type",
"addon"
]
}
},
{
"table": {
"table_name": "cscart_addons",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"addon"
],
"key_length": "98",
"ref": [
"satishecarter_dec_setup_001.cscart_payment_processors.addon"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.20",
"prefix_cost": "4.36",
"data_read_per_join": "1K"
},
"used_columns": [
"addon",
"status"
]
}
}
]
}
}
}
Result
payment_id |
company_id |
usergroup_ids |
position |
status |
template |
processor_id |
processor_params |
a_surcharge |
p_surcharge |
tax_ids |
localization |
payment_category |
payment |
description |
instructions |
surcharge_title |
lang_code |
processor_status |
processor_type |
processor_script |
1 |
0 |
0 |
10 |
A |
views/orders/components/payments/cc.tpl |
0 |
|
0.000 |
0.000 |
|
|
tab1 |
Credit card |
Visa, Mastercard, etc... |
|
|
en |
A |
|
|
2 |
0 |
0 |
40 |
A |
views/orders/components/payments/phone.tpl |
0 |
|
0.000 |
0.000 |
|
|
tab3 |
Phone ordering |
Call +16175550123 |
<h2>When I should use phone ordering?</h2><p>Order by phone is useful when regular payment methods like credit card are unavailable or considered insecure.</p><p>Our operators are happy to take your order per phone every business day from 9 a.m. to 5 p.m. UTC.</p> |
|
en |
A |
|
|