Query time 0.00079
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": 19,
"selectivity_pct": 0.722983257
},
"rows": 15,
"filtered": 0.722983241,
"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/2528/%'"
},
"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 |
| 2805 |
2528 |
405/57/2528/2805 |
APX 1500 |
0 |
A |
1 |
apx-1500-en-8 |
405/57/2528 |
| 2806 |
2528 |
405/57/2528/2806 |
APX 4500 |
0 |
A |
1 |
apx-4500-en-8 |
405/57/2528 |
| 2807 |
2528 |
405/57/2528/2807 |
APX 6500 |
0 |
A |
1 |
apx-6500-en-8 |
405/57/2528 |
| 2808 |
2528 |
405/57/2528/2808 |
APX 7500 |
0 |
A |
1 |
apx-7500-en-8 |
405/57/2528 |
| 2529 |
2528 |
405/57/2528/2529 |
CM200 |
0 |
A |
1 |
cm200 |
405/57/2528 |
| 2530 |
2528 |
405/57/2528/2530 |
CM200d |
0 |
A |
1 |
cm200d-en |
405/57/2528 |
| 2531 |
2528 |
405/57/2528/2531 |
CM300 |
0 |
A |
1 |
cm300 |
405/57/2528 |
| 2532 |
2528 |
405/57/2528/2532 |
CM300d |
0 |
A |
1 |
cm300d-en |
405/57/2528 |
| 2809 |
2528 |
405/57/2528/2809 |
XPR 2500 |
0 |
A |
1 |
xpr-2500 |
405/57/2528 |
| 2810 |
2528 |
405/57/2528/2810 |
XPR 4350 |
0 |
A |
1 |
xpr-4350-en-7 |
405/57/2528 |
| 2811 |
2528 |
405/57/2528/2811 |
XPR 4380 |
0 |
A |
1 |
xpr-4380-en-7 |
405/57/2528 |
| 2812 |
2528 |
405/57/2528/2812 |
XPR 4550 |
0 |
A |
1 |
xpr-4550-en-6 |
405/57/2528 |
| 2813 |
2528 |
405/57/2528/2813 |
XPR 4580 |
0 |
A |
1 |
xpr-4580-en-7 |
405/57/2528 |
| 2814 |
2528 |
405/57/2528/2814 |
XPR 5350 |
0 |
A |
1 |
xpr-5350-en-7 |
405/57/2528 |
| 2815 |
2528 |
405/57/2528/2815 |
XPR 5380 |
0 |
A |
1 |
xpr-5380-en-7 |
405/57/2528 |
| 2816 |
2528 |
405/57/2528/2816 |
XPR 5550 |
0 |
A |
1 |
xpr-5550-en-8 |
405/57/2528 |
| 2817 |
2528 |
405/57/2528/2817 |
XPR 5580 |
0 |
A |
1 |
xpr-5580-en-8 |
405/57/2528 |