Query time 0.00605
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "42.46"
},
"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": 94,
"rows_produced_per_join": 0,
"filtered": "0.05",
"cost_info": {
"read_cost": "42.39",
"eval_cost": "0.00",
"prefix_cost": "42.40",
"data_read_per_join": "133"
},
"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` = 7353) 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 (3,87,2566,18756,17804,17805,17807,17808,18664,18634,18635,18636,18637,18638,18639,18640,18641,18642,18643,18644,18645,18646,18647,18648,18649,18650,18651,18652,18653,18654,18655,18656,18658,18659,18660,18661,18662,18663,18666,18667,18681,18682,18684,18685,18688,18690,18691,18693,18694,18696,18697,18700,18703,18709,18711,18712,18720,18723,18725,18726,18727,18730,18732,18746,18753,18758,18759,18760,18761,18762,18763,19011,18764,18765,18769,18766,18772,18773,18774,18776,18778,18779,18781,18782,18783,18784,18785,18786,18788,18789,18790,19113,19114,19414)))"
}
},
{
"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.00",
"prefix_cost": "42.42",
"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.00",
"prefix_cost": "42.47",
"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 |
| 18764 |
19011 |
17805/19011/18764 |
Arkadelphia - Badgers |
0 |
A |
7353 |
0 |
arkadelphia-en |
17805/19011 |
|
|
| 18762 |
18641 |
17805/18641/18762 |
Arkansas School for the Blind - Lions |
0 |
A |
7353 |
0 |
arkansas-school-for-the-blind |
17805/18641 |
|
|
| 18763 |
18641 |
17805/18641/18763 |
Arkansas School for the Deaf - Leopards |
0 |
A |
7353 |
0 |
arkansas-school-for-the-deaf |
17805/18641 |
|
|
| 18789 |
18666 |
18666/18789 |
Breastfeeding Awareness |
0 |
A |
7353 |
0 |
breastfeeding-awareness |
18666 |
|
|
| 18784 |
18783 |
18783/18784 |
Christmas |
0 |
A |
7353 |
0 |
christmas |
18783 |
|
|
| 17807 |
0 |
17807 |
DIGITAL Designs - NO PHYSICAL PRODUCT SHIPPED |
0 |
A |
7353 |
0 |
digital-bag-tag-designs-embroidery |
|
|
|
| 18778 |
18773 |
18773/18778 |
Domestic Animals |
0 |
A |
7353 |
0 |
domestic-animals |
18773 |
|
|
| 17808 |
17807 |
17807/17808 |
Embroidery Files |
0 |
A |
7353 |
0 |
embroidery-files |
17807 |
|
|
| 18779 |
18773 |
18773/18779 |
Farm Animals |
0 |
A |
7353 |
0 |
farm-animals |
18773 |
|
|
| 18788 |
18783 |
18783/18788 |
Father's Day |
0 |
A |
7353 |
0 |
fathers-day |
18783 |
|
|
| 18664 |
18756 |
18756/18664 |
Allergy Tags |
1 |
A |
7353 |
0 |
allergy-tags |
18756 |
|
|
| 18646 |
18641 |
17805/18641/18646 |
Arkansas Christian Academy - Knights |
1 |
A |
7353 |
0 |
arkansas-christian-academy |
17805/18641 |
|
|
| 18634 |
18664 |
18756/18664/18634 |
Bag Tag |
1 |
A |
7353 |
0 |
single-tag |
18756/18664 |
|
|
| 19114 |
18643 |
17805/18641/18643/19114 |
Bryant - Hornets |
1 |
A |
7353 |
0 |
bryant-hornets |
17805/18641/18643 |
|
|
| 19011 |
17805 |
17805/19011 |
Clark County Teams |
1 |
A |
7353 |
0 |
clark-county-teams |
17805 |
|
|
| 18766 |
18769 |
18765/18769/18766 |
Create Your Own |
1 |
A |
7353 |
0 |
create-your-own |
18765/18769 |
|
|
| 18790 |
18781 |
18781/18790 |
Flowers |
1 |
A |
7353 |
0 |
flowers |
18781 |
|
|
| 18785 |
18772 |
18772/18785 |
For the Classroom |
1 |
A |
7353 |
0 |
for-the-classroom |
18772 |
|
|
| 18769 |
18765 |
18765/18769 |
Name Bag Tags |
1 |
A |
7353 |
0 |
name-bag-tags |
18765 |
|
|
| 18667 |
17804 |
18756/17804/18667 |
Small Bag Tag |
1 |
A |
7353 |
0 |
small-bag-tag |
18756/17804 |
|
|
| 18725 |
18661 |
17805/18661/18725 |
Small Key Chain |
1 |
A |
7353 |
0 |
small-key-chain |
17805/18661 |
|
|
| 18711 |
18659 |
17805/18659/18711 |
Small Key Chain |
1 |
A |
7353 |
0 |
small-key-chain |
17805/18659 |
|
|
| 18696 |
18654 |
17805/18654/18696 |
Small Key Chain |
1 |
A |
7353 |
0 |
small-key-chain |
17805/18654 |
|
|
| 18693 |
18653 |
17805/18653/18693 |
Small Key Chain |
1 |
A |
7353 |
0 |
small-key-chain |
17805/18653 |
|
|
| 18690 |
18652 |
17805/18652/18690 |
Small Key Chain |
1 |
A |
7353 |
0 |
small-key-chain |
17805/18652 |
|
|
| 18684 |
18650 |
17805/18650/18684 |
Small Key Chain |
1 |
A |
7353 |
0 |
small-key-chain |
17805/18650 |
|
|
| 18681 |
18649 |
17805/18649/18681 |
Small Key Chain |
1 |
A |
7353 |
0 |
key-chain |
17805/18649 |
|
|
| 17805 |
0 |
17805 |
Sports Bag Tags |
1 |
A |
7353 |
0 |
sports-bag-tags |
|
|
|
| 18759 |
18758 |
18758/18759 |
State Bag Tags |
1 |
A |
7353 |
0 |
state-bag-tags |
18758 |
|
|
| 18773 |
0 |
18773 |
Animal Bag Tags |
2 |
A |
7353 |
0 |
animal-bag-tags |
|
|
|
| 18774 |
18666 |
18666/18774 |
Autism Awareness |
2 |
A |
7353 |
0 |
autism-awareness-en-2 |
18666 |
|
|
| 18635 |
18664 |
18756/18664/18635 |
Bag Tag + Small Allergy |
2 |
A |
7353 |
0 |
bag-tag-small-allergy |
18756/18664 |
|
|
| 18645 |
18641 |
17805/18641/18645 |
Bauxite School District |
2 |
A |
7353 |
0 |
bauxite |
17805/18641 |
|
|
| 18760 |
18758 |
18758/18760 |
Country Bag Tags |
2 |
A |
7353 |
0 |
country-bag-tags |
18758 |
|
|
| 18786 |
18772 |
18772/18786 |
For the Teacher |
2 |
A |
7353 |
0 |
for-the-teacher |
18772 |
|
|
| 19414 |
18643 |
17805/18641/18643/19414 |
Hill Farm Elementary |
2 |
A |
7353 |
0 |
hill-farm-elementary |
17805/18641/18643 |
|
|
| 18663 |
17804 |
18756/17804/18663 |
Large Bag Tag |
2 |
A |
7353 |
0 |
large-bag-tag |
18756/17804 |
|
|
| 18682 |
18649 |
17805/18649/18682 |
Large Key Chain |
2 |
A |
7353 |
0 |
large-key-chain |
17805/18649 |
|
|
| 18732 |
18730 |
17805/18730/18732 |
Large Key Chain |
2 |
A |
7353 |
0 |
large-key-chain |
17805/18730 |
|
|
| 18726 |
18661 |
17805/18661/18726 |
Large Key Chain |
2 |
A |
7353 |
0 |
large-key-chain |
17805/18661 |
|
|
| 18723 |
18660 |
17805/18660/18723 |
Large Key Chain |
2 |
A |
7353 |
0 |
large-key-chain |
17805/18660 |
|
|
| 18720 |
18658 |
17805/18658/18720 |
Large Key Chain |
2 |
A |
7353 |
0 |
large-key-chain |
17805/18658 |
|
|
| 18712 |
18659 |
17805/18659/18712 |
Large Key Chain |
2 |
A |
7353 |
0 |
large-key-chain |
17805/18659 |
|
|
| 18709 |
18662 |
17805/18662/18709 |
Large Key Chain |
2 |
A |
7353 |
0 |
large-key-chain |
17805/18662 |
|
|
| 18703 |
18656 |
17805/18656/18703 |
Large Key Chain |
2 |
A |
7353 |
0 |
large-key-chain |
17805/18656 |
|
|
| 18700 |
18655 |
17805/18655/18700 |
Large Key Chain |
2 |
A |
7353 |
0 |
large-key-chain |
17805/18655 |
|
|
| 18697 |
18654 |
17805/18654/18697 |
Large Key Chain |
2 |
A |
7353 |
0 |
large-key-chain |
17805/18654 |
|
|
| 18694 |
18653 |
17805/18653/18694 |
Large Key Chain |
2 |
A |
7353 |
0 |
large-key-chain |
17805/18653 |
|
|
| 18691 |
18652 |
17805/18652/18691 |
Large Key Chain |
2 |
A |
7353 |
0 |
large-key-chain |
17805/18652 |
|
|
| 18688 |
18651 |
17805/18651/18688 |
Large Key Chain |
2 |
A |
7353 |
0 |
large-key-chain |
17805/18651 |
|
|
| 18685 |
18650 |
17805/18650/18685 |
Large Key Chain |
2 |
A |
7353 |
0 |
large-key-chain |
17805/18650 |
|
|
| 18782 |
18781 |
18781/18782 |
Lip Balm Holders |
2 |
A |
7353 |
0 |
lip-balm-holders |
18781 |
|
|
| 18641 |
17805 |
17805/18641 |
Saline County Teams |
2 |
A |
7353 |
0 |
saline-county-team-arkansas |
17805 |
|
|
| 18636 |
18664 |
18756/18664/18636 |
Bat Tag + Small Medical |
3 |
A |
7353 |
0 |
bat-tag-small-medical |
18756/18664 |
|
|
| 18642 |
18641 |
17805/18641/18642 |
Benton School District |
3 |
A |
7353 |
0 |
benton |
17805/18641 |
|
|
| 18727 |
18661 |
17805/18661/18727 |
Gear Bag Tag |
3 |
A |
7353 |
0 |
gear-bag-tag |
17805/18661 |
|
|
| 17804 |
18756 |
18756/17804 |
Medical Tags |
3 |
A |
7353 |
0 |
medical-bag-tags |
18756 |
|
|
| 19113 |
18643 |
17805/18641/18643/19113 |
Spring Hill Elementary - Eagles |
3 |
A |
7353 |
0 |
spring-hill-elementary |
17805/18641/18643 |
|
|
| 18761 |
17805 |
17805/18761 |
Team Names |
3 |
A |
7353 |
0 |
team-names |
17805 |
|
|
| 18637 |
18664 |
18756/18664/18637 |
Bag Tag + Large Allergy |
4 |
A |
7353 |
0 |
bag-tag-large-allergy |
18756/18664 |
|
|
| 18643 |
18641 |
17805/18641/18643 |
Bryant School District |
4 |
A |
7353 |
0 |
bryant |
17805/18641 |
|
|
| 18772 |
0 |
18772 |
Educational Bag Tags & More |
4 |
A |
7353 |
0 |
educational-bag-tags |
|
|
|
| 18746 |
17805 |
17805/18746 |
Mascots |
4 |
A |
7353 |
0 |
mascots |
17805 |
|
|
| 18638 |
18664 |
18756/18664/18638 |
Bag Tag + Large Medical |
5 |
A |
7353 |
0 |
bag-tag-large-medical |
18756/18664 |
|
|
| 18647 |
18641 |
17805/18641/18647 |
Glen Rose School District |
5 |
A |
7353 |
0 |
glen-rose |
17805/18641 |
|
|
| 18783 |
0 |
18783 |
Holiday Bag Tags & More |
5 |
A |
7353 |
0 |
holiday-bag-tags-and-ornaments |
|
|
|
| 18639 |
18664 |
18756/18664/18639 |
Bag Tag + USB Holder |
6 |
A |
7353 |
0 |
bag-tag-usb-holder |
18756/18664 |
|
|
| 18649 |
17805 |
17805/18649 |
Baseball |
6 |
A |
7353 |
0 |
baseball |
17805 |
|
|
| 18644 |
18641 |
17805/18641/18644 |
Harmony Grove School District |
6 |
A |
7353 |
0 |
harmony-grove |
17805/18641 |
|
|
| 18640 |
18664 |
18756/18664/18640 |
Bag Tag + Injection Pen Holder |
7 |
A |
7353 |
0 |
bag-tag-injection-pen-holder |
18756/18664 |
|
|
| 18650 |
17805 |
17805/18650 |
Basketball |
7 |
A |
7353 |
0 |
basketball |
17805 |
|
|
| 18753 |
18666 |
18666/18753 |
Neonatal Intensive Care Unit Awareness |
7 |
A |
7353 |
0 |
neonatal-intensive-care-unit-awareness |
18666 |
|
|
| 18648 |
18641 |
17805/18641/18648 |
Sheridan School District |
7 |
A |
7353 |
0 |
sheridan |
17805/18641 |
|
|
| 18651 |
17805 |
17805/18651 |
Cheer |
8 |
A |
7353 |
0 |
cheer |
17805 |
|
|
| 18781 |
0 |
18781 |
Miscellaneous Bag Tags |
8 |
A |
7353 |
0 |
miscellaneous-bag-tags |
|
|
|
| 18652 |
17805 |
17805/18652 |
Football |
9 |
A |
7353 |
0 |
football |
17805 |
|
|
| 18765 |
0 |
18765 |
Names/Initials/Monogram Bag Tags |
9 |
A |
7353 |
0 |
names-initials-monogram-bag-tags |
|
|
|
| 18653 |
17805 |
17805/18653 |
Golf |
10 |
A |
7353 |
0 |
golf |
17805 |
|
|
| 18758 |
0 |
18758 |
State/Country Bag Tags |
10 |
A |
7353 |
0 |
state-bag-tags |
|
|
|
| 18654 |
17805 |
17805/18654 |
Gymnastics |
11 |
A |
7353 |
0 |
gymnastics |
17805 |
|
|
| 18776 |
0 |
18776 |
Women's Rights Bag Tags |
11 |
A |
7353 |
0 |
womens-rights-bag-tags |
|
|
|
| 18655 |
17805 |
17805/18655 |
Hockey |
12 |
A |
7353 |
0 |
hockey |
17805 |
|
|
| 18656 |
17805 |
17805/18656 |
Lacrosse |
13 |
A |
7353 |
0 |
lacrosse |
17805 |
|
|
| 18662 |
17805 |
17805/18662 |
Pickleball |
15 |
A |
7353 |
0 |
pickleball |
17805 |
|
|
| 18659 |
17805 |
17805/18659 |
Soccer |
17 |
A |
7353 |
0 |
soccer |
17805 |
|
|
| 18658 |
17805 |
17805/18658 |
Softball |
18 |
A |
7353 |
0 |
softball |
17805 |
|
|
| 18730 |
17805 |
17805/18730 |
Swimming |
19 |
A |
7353 |
0 |
swimming |
17805 |
|
|
| 18660 |
17805 |
17805/18660 |
Tennis |
20 |
A |
7353 |
0 |
tennis |
17805 |
|
|
| 18661 |
17805 |
17805/18661 |
Volleyball |
21 |
A |
7353 |
0 |
volleyball |
17805 |
|
|