Query time 0.00324
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "60.05"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "categories",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"c_status",
"p_category_id",
"index_categories_on_deleted_at"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id"
],
"key_length": "3",
"rows_examined_per_scan": 133,
"rows_produced_per_join": 0,
"filtered": "0.04",
"cost_info": {
"read_cost": "59.98",
"eval_cost": "0.01",
"prefix_cost": "59.98",
"data_read_per_join": "134"
},
"used_columns": [
"category_id",
"parent_id",
"id_path",
"company_id",
"usergroup_ids",
"status",
"position",
"is_trash",
"deleted_at",
"storefront_id"
],
"attached_condition": "((`goimagine`.`categories`.`company_id` = 9338) and ((`goimagine`.`categories`.`usergroup_ids` = '') or (0 <> find_in_set(0,`goimagine`.`categories`.`usergroup_ids`)) or (0 <> find_in_set(1,`goimagine`.`categories`.`usergroup_ids`))) and (`goimagine`.`categories`.`status` = 'A') and (`goimagine`.`categories`.`storefront_id` in (0,1)) and (`goimagine`.`categories`.`deleted_at` is null) and (`goimagine`.`categories`.`category_id` in (4,5,2,13,17,23,38,45,46,71,73,76,82,3,87,99,78,106,109,116,134,137,147,15,169,187,194,195,196,199,201,202,22751,204,206,207,208,227,48,243,179,258,259,267,272,12,59,317,326,20,329,21,336,2566,6644,6647,62,6655,6658,6659,26,6692,6727,6731,7580,7581,22740,7651,21622,21607,21623,21629,21630,21631,21632,21672,21673,21674,21675,21676,21677,21679,21680,21735,21741,21742,21743,21744,21761,21762,21763,21771,21772,21773,21776,21777,21778,21779,21780,21785,21786,21787,21788,21791,21793,21794,21795,21796,21797,21798,21800,21979,21987,21988,21996,22616,22617,22618,22619,22625,22737,22743,22745,22746,22898,23008,23012,23013,23014,23091,23114,23115,23117)))"
}
},
{
"table": {
"table_name": "category_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id",
"lang_code"
],
"key_length": "9",
"ref": [
"goimagine.categories.category_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.01",
"eval_cost": "0.01",
"prefix_cost": "60.00",
"data_read_per_join": "232"
},
"used_columns": [
"category_id",
"lang_code",
"category",
"mega_m_category_banner_url",
"mega_m_category_svg_icon"
]
}
},
{
"table": {
"table_name": "seo_names",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"dispatch"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"type",
"dispatch",
"lang_code"
],
"key_length": "206",
"ref": [
"goimagine.categories.category_id",
"const",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.04",
"eval_cost": "0.01",
"prefix_cost": "60.05",
"data_read_per_join": "86"
},
"used_columns": [
"name",
"object_id",
"company_id",
"type",
"dispatch",
"path",
"lang_code"
]
}
}
]
}
}
}
Result
| category_id |
parent_id |
id_path |
category |
position |
status |
company_id |
storefront_id |
seo_name |
seo_path |
mega_m_category_banner_url |
mega_m_category_svg_icon |
| 21794 |
21791 |
21791/21794 |
20 Oz Tumblers |
0 |
A |
9338 |
0 |
20-oz-tumblers |
21791 |
|
|
| 21777 |
21776 |
21776/21777 |
28 Dominoes |
0 |
A |
9338 |
0 |
28-dominoes |
21776 |
|
|
| 21778 |
21777 |
21776/21777/21778 |
28 Dominoes W/Accessories |
0 |
A |
9338 |
0 |
28-dominoes-w-accessories |
21776/21777 |
|
|
| 21793 |
21791 |
21791/21793 |
30 oz Tumblers |
0 |
A |
9338 |
0 |
30-oz-tumblers |
21791 |
|
|
| 21779 |
21776 |
21776/21779 |
92 Dominoes |
0 |
A |
9338 |
0 |
92-dominoes |
21776 |
|
|
| 21780 |
21779 |
21776/21779/21780 |
92 Dominoes w/Accessories |
0 |
A |
9338 |
0 |
92-dominoes-w-accessories |
21776/21779 |
|
|
| 21623 |
21607 |
21607/21623 |
Adult Game Night sets |
0 |
A |
9338 |
0 |
game-night-sets |
21607 |
|
|
| 23117 |
23114 |
23114/23117 |
Aprons |
0 |
A |
9338 |
0 |
aprons |
23114 |
|
|
| 21673 |
0 |
21673 |
Barware |
0 |
A |
9338 |
0 |
barware-en |
|
|
|
| 21676 |
21673 |
21673/21676 |
Barware Sets |
0 |
A |
9338 |
0 |
barware-sets |
21673 |
|
|
| 21679 |
21673 |
21673/21679 |
Beer Flights |
0 |
A |
9338 |
0 |
beer-flights |
21673 |
|
|
| 21680 |
21673 |
21673/21680 |
Beer Glasses/Mugs |
0 |
A |
9338 |
0 |
beer-glasses-mugs |
21673 |
|
|
| 21677 |
21673 |
21673/21677 |
Bottle Openers |
0 |
A |
9338 |
0 |
bottle-openers |
21673 |
|
|
| 21771 |
0 |
21771 |
Candle Holders |
0 |
A |
9338 |
0 |
candle-holders-en-9 |
|
|
|
| 23114 |
0 |
23114 |
Clothing |
0 |
A |
9338 |
0 |
clothing-en-34 |
|
|
|
| 21629 |
0 |
21629 |
Coasters |
0 |
A |
9338 |
0 |
coasters-en-29 |
|
|
|
| 21742 |
21741 |
21741/21742 |
Coffin |
0 |
A |
9338 |
0 |
coffin |
21741 |
|
|
| 21743 |
21741 |
21741/21743 |
Coffin/Dragon |
0 |
A |
9338 |
0 |
coffin-dragon |
21741 |
|
|
| 21772 |
21771 |
21771/21772 |
Crescent Moon |
0 |
A |
9338 |
0 |
crescent-moon |
21771 |
|
|
| 21622 |
0 |
21622 |
Dice Cups |
0 |
A |
9338 |
0 |
dice-cups |
|
|
|
| 21735 |
21607 |
21607/21735 |
Dice Game Sets |
0 |
A |
9338 |
0 |
dice-game-sets |
21607 |
|
|
| 21776 |
0 |
21776 |
Dominoes |
0 |
A |
9338 |
0 |
dominoes-en-3 |
|
|
|
| 22618 |
22616 |
22616/22618 |
Earrings |
0 |
A |
9338 |
0 |
earrings |
22616 |
|
|
| 21788 |
21785 |
21785/21788 |
Fantasy/Character |
0 |
A |
9338 |
0 |
fantasy-character |
21785 |
|
|
| 21786 |
21785 |
21785/21786 |
Flowers |
0 |
A |
9338 |
0 |
flowers |
21785 |
|
|
| 21607 |
0 |
21607 |
Game Night sets |
0 |
A |
9338 |
0 |
dice-cups-and-game-sets |
|
|
|
| 21797 |
21791 |
21791/21797 |
Glass Water Bottles |
0 |
A |
9338 |
0 |
glass-water-bottles |
21791 |
|
|
| 21761 |
0 |
21761 |
Grinding and Rolling |
0 |
A |
9338 |
0 |
grinding-and-rolling |
|
|
|
| 22898 |
0 |
22898 |
Honey Pots |
0 |
A |
9338 |
0 |
honey-pots |
|
|
|
| 21631 |
21629 |
21629/21631 |
Honeycomb |
0 |
A |
9338 |
0 |
honeycomb |
21629 |
|
|
| 21787 |
21785 |
21785/21787 |
Horror/Movies |
0 |
A |
9338 |
0 |
horror |
21785 |
|
|
| 23013 |
23012 |
23012/23013 |
Indoor |
0 |
A |
9338 |
0 |
indoor |
23012 |
|
|
| 22616 |
0 |
22616 |
Jewelry |
0 |
A |
9338 |
0 |
jewelry-en-177 |
|
|
|
| 21791 |
0 |
21791 |
Keep it Cool Drinkware |
0 |
A |
9338 |
0 |
keep-it-cool-drinkware |
|
|
|
| 21785 |
0 |
21785 |
Keychains |
0 |
A |
9338 |
0 |
keychains-en-107 |
|
|
|
| 22625 |
21791 |
21791/22625 |
Kids cups |
0 |
A |
9338 |
0 |
kids-cups |
21791 |
|
|
| 21796 |
21791 |
21791/21796 |
Koozie Duozies |
0 |
A |
9338 |
0 |
koozie-douzies |
21791 |
|
|
| 21744 |
21741 |
21741/21744 |
Large Jewelry Boxes |
0 |
A |
9338 |
0 |
large-jewelry-boxes |
21741 |
|
|
| 21996 |
21622 |
21622/21996 |
Medium |
0 |
A |
9338 |
0 |
medium |
21622 |
|
|
| 23008 |
0 |
23008 |
Moon Fairies |
0 |
A |
9338 |
0 |
moon-fairies |
|
|
|
| 23091 |
0 |
23091 |
Mystical |
0 |
A |
9338 |
0 |
mystical |
|
|
|
| 22617 |
22616 |
22616/22617 |
Necklaces |
0 |
A |
9338 |
0 |
necklaces |
22616 |
|
|
| 21979 |
21785 |
21785/21979 |
Novelty |
0 |
A |
9338 |
0 |
novelty |
21785 |
|
|
| 21800 |
0 |
21800 |
Other Cool Stuff |
0 |
A |
9338 |
0 |
other-cool-stuff-en |
|
|
|
| 23014 |
23012 |
23012/23014 |
Outdoor |
0 |
A |
9338 |
0 |
outdoor |
23012 |
|
|
| 21798 |
21791 |
21791/21798 |
Plastic Tumblers |
0 |
A |
9338 |
0 |
plastic-tumblers |
21791 |
|
|
| 21762 |
21761 |
21761/21762 |
Rolling sets |
0 |
A |
9338 |
0 |
rolling-sets |
21761 |
|
|
| 21630 |
21629 |
21629/21630 |
Round |
0 |
A |
9338 |
0 |
round |
21629 |
|
|
| 22619 |
22616 |
22616/22619 |
Sets |
0 |
A |
9338 |
0 |
sets |
22616 |
|
|
| 21675 |
21673 |
21673/21675 |
Shot glasses |
0 |
A |
9338 |
0 |
shot-glasses |
21673 |
|
|
| 21988 |
21987 |
21987/21988 |
Skulls |
0 |
A |
9338 |
0 |
skulls |
21987 |
|
|
| 21632 |
21622 |
21622/21632 |
Small |
0 |
A |
9338 |
0 |
small |
21622 |
|
|
| 21672 |
0 |
21672 |
Spoon Rests |
0 |
A |
9338 |
0 |
spoon-rests |
|
|
|
| 23115 |
23114 |
23114/23115 |
T-shirts |
0 |
A |
9338 |
0 |
t-shirts |
23114 |
|
|
| 21773 |
21771 |
21771/21773 |
Taper |
0 |
A |
9338 |
0 |
taper |
21771 |
|
|
| 21763 |
21761 |
21761/21763 |
Tobacco Grinder |
0 |
A |
9338 |
0 |
tobacco-grinder |
21761 |
|
|
| 21741 |
0 |
21741 |
Trinket Boxes |
0 |
A |
9338 |
0 |
trinket-boxes-en-3 |
|
|
|
| 21987 |
0 |
21987 |
Trinket dishes |
0 |
A |
9338 |
0 |
ashtrays-en-5 |
|
|
|
| 21674 |
21673 |
21673/21674 |
Wine glasses |
0 |
A |
9338 |
0 |
wine-glasses |
21673 |
|
|
| 21795 |
21791 |
21791/21795 |
Wine Tumblers |
0 |
A |
9338 |
0 |
wine-tumblers |
21791 |
|
|
| 23012 |
0 |
23012 |
Wood Signs |
0 |
A |
9338 |
0 |
wood-signs-en-18 |
|
|
|