Query time 0.00086
JSON explain
{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "cscart_categories.is_trash, cscart_categories.position, cscart_category_descriptions.category",
"temporary_table": {
"table": {
"table_name": "cscart_categories",
"access_type": "ref",
"possible_keys": ["c_status", "parent", "id_path"],
"key": "parent",
"key_length": "3",
"used_key_parts": ["parent_id"],
"ref": ["const"],
"rowid_filter": {
"range": {
"key": "id_path",
"used_key_parts": ["id_path"]
},
"rows": 22,
"selectivity_pct": 0.837138508
},
"rows": 16,
"filtered": 0.837138534,
"attached_condition": "cscart_categories.company_id = 1 and (cscart_categories.usergroup_ids = '' or find_in_set(0,cscart_categories.usergroup_ids) or find_in_set(1,cscart_categories.usergroup_ids)) and cscart_categories.`status` = 'A' and cscart_categories.id_path like '405/57/2489/%'"
},
"table": {
"table_name": "cscart_category_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["category_id", "lang_code"],
"ref": ["rfswire_cart.cscart_categories.category_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_category_descriptions.lang_code = 'en')"
},
"table": {
"table_name": "cscart_seo_names",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "dispatch"],
"key": "PRIMARY",
"key_length": "210",
"used_key_parts": [
"object_id",
"type",
"dispatch",
"lang_code",
"company_id"
],
"ref": [
"rfswire_cart.cscart_categories.category_id",
"const",
"const",
"const",
"const"
],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_seo_names.`type` = 'c' and cscart_seo_names.dispatch = '' and cscart_seo_names.lang_code = 'en')"
}
}
}
}
}
Result
| category_id |
parent_id |
id_path |
category |
position |
status |
company_id |
seo_name |
seo_path |
| 2831 |
2489 |
405/57/2489/2831 |
APX 1500 |
0 |
A |
1 |
apx-1500-en-6 |
405/57/2489 |
| 2832 |
2489 |
405/57/2489/2832 |
APX 4500 |
0 |
A |
1 |
apx-4500-en-6 |
405/57/2489 |
| 2833 |
2489 |
405/57/2489/2833 |
APX 6500 |
0 |
A |
1 |
apx-6500-en-6 |
405/57/2489 |
| 2834 |
2489 |
405/57/2489/2834 |
APX 7500 |
0 |
A |
1 |
apx-7500-en-7 |
405/57/2489 |
| 2504 |
2489 |
405/57/2489/2504 |
CM200 |
0 |
A |
1 |
cm200-en-2 |
405/57/2489 |
| 2505 |
2489 |
405/57/2489/2505 |
CM200d |
0 |
A |
1 |
cm200d-en-2 |
405/57/2489 |
| 2506 |
2489 |
405/57/2489/2506 |
CM300 |
0 |
A |
1 |
cm300-en-2 |
405/57/2489 |
| 2507 |
2489 |
405/57/2489/2507 |
CM300d |
0 |
A |
1 |
cm300d-en-2 |
405/57/2489 |
| 2823 |
2489 |
405/57/2489/2823 |
XPR 4350 |
0 |
A |
1 |
xpr-4350-en-5 |
405/57/2489 |
| 2824 |
2489 |
405/57/2489/2824 |
XPR 4380 |
0 |
A |
1 |
xpr-4380-en-5 |
405/57/2489 |
| 2825 |
2489 |
405/57/2489/2825 |
XPR 4550 |
0 |
A |
1 |
xpr-4550-en-4 |
405/57/2489 |
| 2826 |
2489 |
405/57/2489/2826 |
XPR 4580 |
0 |
A |
1 |
xpr-4580-en-5 |
405/57/2489 |
| 2827 |
2489 |
405/57/2489/2827 |
XPR 5350 |
0 |
A |
1 |
xpr-5350-en-5 |
405/57/2489 |
| 2828 |
2489 |
405/57/2489/2828 |
XPR 5380 |
0 |
A |
1 |
xpr-5380-en-5 |
405/57/2489 |
| 2829 |
2489 |
405/57/2489/2829 |
XPR 5550 |
0 |
A |
1 |
xpr-5550-en-6 |
405/57/2489 |
| 2830 |
2489 |
405/57/2489/2830 |
XPR 5580 |
0 |
A |
1 |
xpr-5580-en-6 |
405/57/2489 |
| 3095 |
2489 |
405/57/2489/3095 |
XPR2500 |
0 |
A |
1 |
xpr2500-en-6 |
405/57/2489 |
| 3171 |
2489 |
405/57/2489/3171 |
APX 8500 |
10 |
A |
1 |
apx-8500-en-3 |
405/57/2489 |
| 3423 |
2489 |
405/57/2489/3423 |
TLK 150 |
20 |
A |
1 |
tlk-150-en |
405/57/2489 |