Query time 0.00087
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": ["id_path", "c_status"],
"key": "id_path",
"key_length": "767",
"used_key_parts": ["id_path"],
"rows": 25,
"filtered": 100,
"index_condition": "cscart_categories.id_path like '1842/%'",
"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) or find_in_set(62,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": ["cscart_migrate.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": [
"cscart_migrate.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 |
| 1850 |
1849 |
1842/1849/1850 |
Cord Hung Pendants |
10 |
A |
1 |
cord-hung-pendants |
1842/1849 |
| 1856 |
1855 |
1842/1855/1856 |
Exterior Mounted LED |
10 |
A |
1 |
ceiling-mounted |
1842/1855 |
| 1843 |
1842 |
1842/1843 |
Featured |
10 |
A |
1 |
featured |
1842 |
| 1865 |
1864 |
1842/1864/1865 |
LED Bulb Replacements |
10 |
A |
1 |
led-bulbs |
1842/1864 |
| 1861 |
1860 |
1842/1860/1861 |
LED Gooseneck Lights |
10 |
A |
1 |
goosenecks |
1842/1860 |
| 1844 |
1843 |
1842/1843/1844 |
NEW Products |
10 |
A |
1 |
new-products |
1842/1843 |
| 1862 |
1860 |
1842/1860/1862 |
LED Sign Lights |
20 |
A |
1 |
sign-lights |
1842/1860 |
| 1851 |
1849 |
1842/1849/1851 |
LED Stem Mount Pendants |
20 |
A |
1 |
stem-mount-pendants |
1842/1849 |
| 1857 |
1855 |
1842/1855/1857 |
LED Wall Mounted |
20 |
A |
1 |
wall-mounted |
1842/1855 |
| 1849 |
1842 |
1842/1849 |
Vintage Ceiling Lighting |
20 |
A |
1 |
ceiling |
1842 |
| 1852 |
1849 |
1842/1849/1852 |
Chain Hung LED Pendants |
30 |
A |
1 |
chain-hung-pendants |
1842/1849 |
| 1846 |
1843 |
1842/1843/1846 |
LED Oversized Shades |
30 |
A |
1 |
oversized-shades |
1842/1843 |
| 1858 |
1855 |
1842/1855/1858 |
LED Post Mounts |
30 |
A |
1 |
post-mounts |
1842/1855 |
| 1863 |
1860 |
1842/1860/1863 |
LED Sconces |
30 |
A |
1 |
sconces |
1842/1860 |
| 1860 |
1842 |
1842/1860 |
LED Wall Lighting |
30 |
A |
1 |
wall |
1842 |
| 1853 |
1849 |
1842/1849/1853 |
LED Flush Mounts |
40 |
A |
1 |
flush-mounts |
1842/1849 |
| 1859 |
1855 |
1842/1855/1859 |
LED Lighting Post Tops |
40 |
A |
1 |
post-tops |
1842/1855 |
| 1847 |
1843 |
1842/1843/1847 |
LED Schoolhouse |
40 |
A |
1 |
schoolhouse |
1842/1843 |
| 1855 |
1842 |
1842/1855 |
Outdoor LED Lighting |
40 |
A |
1 |
outdoor |
1842 |
| 1854 |
1849 |
1842/1849/1854 |
Chandeliers |
50 |
A |
1 |
chandeliers |
1842/1849 |
| 1804 |
1843 |
1842/1843/1804 |
Commercial High Lumen |
50 |
A |
1 |
high-lumen-en |
1842/1843 |
| 1864 |
1842 |
1842/1864 |
Commercial LED Lighting Accessories |
50 |
A |
1 |
accessories |
1842 |
| 1983 |
1843 |
1842/1843/1983 |
LED Timber & Ore |
60 |
A |
1 |
timber-and-ore |
1842/1843 |