Query time 0.00047
JSON explain
{
"query_block": {
"select_id": 1,
"having_condition": "processor_status = 'A'",
"read_sorted_file": {
"filesort": {
"sort_key": "cscart_payments.position",
"table": {
"table_name": "cscart_payments",
"access_type": "ALL",
"possible_keys": ["PRIMARY", "c_status"],
"rows": 13,
"filtered": 100,
"attached_condition": "cscart_payments.`status` = 'A' and (cscart_payments.usergroup_ids = '' or find_in_set(0,cscart_payments.usergroup_ids) or find_in_set(1,cscart_payments.usergroup_ids))"
}
}
},
"table": {
"table_name": "cscart_payment_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["payment_id", "lang_code"],
"ref": ["rfswire_cart.cscart_payments.payment_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_payment_descriptions.lang_code = 'en')"
},
"table": {
"table_name": "cscart_payment_processors",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["processor_id"],
"ref": ["rfswire_cart.cscart_payments.processor_id"],
"rows": 1,
"filtered": 100
},
"table": {
"table_name": "cscart_addons",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "98",
"used_key_parts": ["addon"],
"ref": ["rfswire_cart.cscart_payment_processors.addon"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(trigcond(cscart_payment_processors.addon is not null))"
},
"table": {
"table_name": "cscart_ult_objects_sharing",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "159",
"used_key_parts": [
"share_object_id",
"share_company_id",
"share_object_type"
],
"ref": ["rfswire_cart.cscart_payments.payment_id", "const", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "cscart_ult_objects_sharing.share_object_id = cscart_payments.payment_id and cscart_ult_objects_sharing.share_object_type = 'payments'",
"using_index": 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 |
| 12 |
1 |
0 |
0 |
A |
views/orders/components/payments/cod.tpl |
0 |
|
0.000 |
0.000 |
|
|
tab1 |
NET30 |
|
|
|
en |
A |
|
| 13 |
1 |
0 |
0 |
A |
views/orders/components/payments/cod.tpl |
0 |
|
0.000 |
0.000 |
|
|
tab1 |
Credit Card (on File) |
|
|
|
en |
A |
|
| 1 |
1 |
0 |
10 |
A |
views/orders/components/payments/cc.tpl |
0 |
|
0.000 |
0.000 |
|
|
tab1 |
Credit card |
Visa, Mastercard, etc... |
|
|
en |
A |
|