Query time 0.00472
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "5.04"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"cost_info": {
"sort_cost": "1.50"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_payments",
"access_type": "ALL",
"possible_keys": [
"c_status"
],
"rows_examined_per_scan": 10,
"rows_produced_per_join": 1,
"filtered": "10.00",
"cost_info": {
"read_cost": "1.67",
"eval_cost": "0.10",
"prefix_cost": "1.77",
"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": "((`s2cart`.`cscart_payments`.`status` = 'A') and ((`s2cart`.`cscart_payments`.`usergroup_ids` = '') or (0 <> find_in_set(0,`s2cart`.`cscart_payments`.`usergroup_ids`)) or (0 <> find_in_set(1,`s2cart`.`cscart_payments`.`usergroup_ids`))) and (`s2cart`.`cscart_payments`.`company_id` = 0))"
}
},
{
"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": [
"s2cart.cscart_payments.payment_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.25",
"eval_cost": "0.10",
"prefix_cost": "2.12",
"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": [
"s2cart.cscart_payments.processor_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.25",
"eval_cost": "0.10",
"prefix_cost": "2.47",
"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": [
"s2cart.cscart_payment_processors.addon"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.25",
"eval_cost": "0.10",
"prefix_cost": "2.82",
"data_read_per_join": "1K"
},
"used_columns": [
"addon",
"status"
]
}
},
{
"table": {
"table_name": "storefronts_payments",
"access_type": "index",
"key": "PRIMARY",
"used_key_parts": [
"storefront_id",
"payment_id"
],
"key_length": "8",
"rows_examined_per_scan": 2,
"rows_produced_per_join": 1,
"filtered": "75.00",
"using_index": true,
"using_join_buffer": "hash join",
"cost_info": {
"read_cost": "0.56",
"eval_cost": "0.15",
"prefix_cost": "3.54",
"data_read_per_join": "24"
},
"used_columns": [
"storefront_id",
"payment_id"
],
"attached_condition": "(<if>(found_match(storefronts_payments), ((`s2cart`.`storefronts_payments`.`storefront_id` = 1) or (`s2cart`.`storefronts_payments`.`storefront_id` is null)), true) and <if>(is_not_null_compl(storefronts_payments), (`s2cart`.`storefronts_payments`.`payment_id` = `s2cart`.`cscart_payments`.`payment_id`), true))"
}
}
]
}
}
}
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 |
14 |
0 |
0 |
0 |
A |
views/orders/components/payments/cc_outside.tpl |
113 |
a:4:{s:13:"merchant_salt";s:8:"CsvZxwss";s:8:"currency";s:1624:"MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDsqKOHBO9lEUJ6NhBVSFKXmC5ePoXzk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ed";s:1:"F";}} |
0.000 |
0.000 |
10 |
|
tab1 |
PayUbiz |
Master | Visa | Rupay | Net Banking |
|
|
en |
A |
P |
payu.php |
1 |
0 |
0 |
10 |
A |
views/orders/components/payments/cc_outside.tpl |
117 |
a:4:{s:11:"merchant_id";s:6:"230670";s:11:"working_key";s:32:"D0A7965E654C1BCF41B2BFCCF51E6888";s:11:"access_code";s:18:"AVBU87GH48CK45UBKC";s:8:"testmode";s:1:"N";} |
0.000 |
0.000 |
10 |
|
tab1 |
ccavenue |
UPI | Visa | Master | Net Banking |
|
|
en |
A |
P |
ccavenue.php |