Query time 0.00072
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": "range",
"possible_keys": ["c_status", "parent", "id_path"],
"key": "id_path",
"key_length": "767",
"used_key_parts": ["id_path"],
"rowid_filter": {
"range": {
"key": "parent",
"used_key_parts": ["parent_id"]
},
"rows": 19,
"selectivity_pct": 0.722983257
},
"rows": 16,
"filtered": 0.722983241,
"index_condition": "cscart_categories.id_path like '405/1/227/%'",
"attached_condition": "cscart_categories.parent_id = 227 and 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'"
},
"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 |
| 2357 |
227 |
405/1/227/2357 |
EVX-260 |
0 |
A |
1 |
evx-260 |
405/1/227 |
| 266 |
227 |
405/1/227/266 |
EVX-530 |
0 |
A |
1 |
evx-530-alignment-service-accessories |
405/1/227 |
| 228 |
227 |
405/1/227/228 |
VX-160 |
0 |
A |
1 |
vx-160-alignment-service-accessories |
405/1/227 |
| 229 |
227 |
405/1/227/229 |
VX-180 |
0 |
A |
1 |
vx-180-alignment-service-accessories |
405/1/227 |
| 232 |
227 |
405/1/227/232 |
VX-230 |
0 |
A |
1 |
vx-230-alignment-service-accessories |
405/1/227 |
| 2312 |
227 |
405/1/227/2312 |
VX-260 |
0 |
A |
1 |
vx-260 |
405/1/227 |
| 263 |
227 |
405/1/227/263 |
VX-350 |
0 |
A |
1 |
vx-350-alignment-service-accessories |
405/1/227 |
| 230 |
227 |
405/1/227/230 |
VX-410 |
0 |
A |
1 |
vx-410-alignment-service-accessories |
405/1/227 |
| 231 |
227 |
405/1/227/231 |
VX-420 |
0 |
A |
1 |
vx-420-alignment-service-accessories |
405/1/227 |
| 264 |
227 |
405/1/227/264 |
VX-420A |
0 |
A |
1 |
vx-420a-alignment-service-accessories |
405/1/227 |
| 265 |
227 |
405/1/227/265 |
VX-450 |
0 |
A |
1 |
vx-450-alignment-service-accessories |
405/1/227 |
| 287 |
227 |
405/1/227/287 |
VX-820 |
0 |
A |
1 |
vx-820-alignment-service-accessories |
405/1/227 |
| 288 |
227 |
405/1/227/288 |
VX-920 |
0 |
A |
1 |
vx-920-alignment-service-accessories |
405/1/227 |
| 290 |
227 |
405/1/227/290 |
VX-P820 |
0 |
A |
1 |
vx-p820-alignment-service-accessories |
405/1/227 |
| 289 |
227 |
405/1/227/289 |
VX-P920 |
0 |
A |
1 |
vx-p920-alignment-service-accessories |
405/1/227 |