Query time 0.00099
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.166616747,
"temporary_table": {
"nested_loop": [
{
"table": {
"table_name": "variation_group_products",
"access_type": "range",
"possible_keys": ["PRIMARY", "idx_group_id"],
"key": "idx_group_id",
"key_length": "3",
"used_key_parts": ["group_id"],
"loops": 1,
"rows": 32,
"cost": 0.01622488,
"filtered": 100,
"attached_condition": "variation_group_products.group_id in (145,149,142,152,151,164,138,163,161,150,137,162)",
"using_index": true
}
},
{
"table": {
"table_name": "products",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "status"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["u508912950_dev_2025.variation_group_products.product_id"],
"loops": 32,
"rows": 1,
"cost": 0.05074048,
"filtered": 65.57093048,
"attached_condition": "(products.usergroup_ids = '' or find_in_set(0,products.usergroup_ids) or find_in_set(1,products.usergroup_ids)) and products.`status` = 'A' and products.product_type <> 'D'"
}
},
{
"table": {
"table_name": "companies",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["company_id"],
"ref": ["u508912950_dev_2025.products.company_id"],
"loops": 20.98269896,
"rows": 1,
"cost": 0.019586965,
"filtered": 100,
"attached_condition": "companies.`status` = 'A'"
}
},
{
"table": {
"table_name": "descr1",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "product_id"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["product_id", "lang_code"],
"ref": [
"u508912950_dev_2025.variation_group_products.product_id",
"const"
],
"loops": 20.98269896,
"rows": 1,
"cost": 0.035956792,
"filtered": 100,
"attached_condition": "trigcond(descr1.lang_code = 'en')"
}
},
{
"table": {
"table_name": "products_categories",
"access_type": "ref",
"possible_keys": ["PRIMARY", "pt"],
"key": "pt",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["u508912950_dev_2025.variation_group_products.product_id"],
"loops": 20.98269896,
"rows": 1,
"cost": 0.022063064,
"filtered": 100,
"using_index": true
}
},
{
"table": {
"table_name": "cscart_categories",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "c_status", "p_category_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["category_id"],
"ref": ["u508912950_dev_2025.products_categories.category_id"],
"loops": 20.98269896,
"rows": 1,
"cost": 0.022044565,
"filtered": 100,
"attached_condition": "(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` in ('A','H') and cscart_categories.storefront_id in (0,1)"
}
}
]
}
}
}
Result
| product_id |
amount |
product |
company_name |
variation_group_id |
product_type |
parent_product_id |
| 13883 |
5 |
Silky Matt Compact Powder |
Aden Cosmetics Malta |
137 |
V |
13884 |
| 13884 |
5 |
Silky Matt Compact Powder |
Aden Cosmetics Malta |
137 |
P |
0 |
| 13885 |
3 |
Powder Pearls |
Aden Cosmetics Malta |
138 |
P |
0 |
| 13886 |
2 |
Powder Pearls |
Aden Cosmetics Malta |
138 |
V |
13885 |
| 13887 |
3 |
Powder Pearls |
Aden Cosmetics Malta |
138 |
V |
13885 |
| 13888 |
2 |
Powder Pearls |
Aden Cosmetics Malta |
138 |
V |
13885 |
| 13906 |
2 |
ME-RACLE Liquid Eyeliner |
Aden Cosmetics Malta |
142 |
P |
0 |
| 13907 |
2 |
ME-RACLE Liquid Eyeliner |
Aden Cosmetics Malta |
142 |
V |
13906 |
| 13917 |
10 |
Matic Eyeshaper |
Aden Cosmetics Malta |
145 |
P |
0 |
| 13918 |
10 |
Matic Eyeshaper |
Aden Cosmetics Malta |
145 |
V |
13917 |
| 13926 |
10 |
Matte Eyeshadow Powder |
Aden Cosmetics Malta |
149 |
P |
0 |
| 13927 |
10 |
Matte Eyeshadow Powder |
Aden Cosmetics Malta |
149 |
V |
13926 |
| 13933 |
9 |
Shine Eyeshadow Powder Duo |
Aden Cosmetics Malta |
150 |
P |
0 |
| 13934 |
0 |
Shine Eyeshadow Powder Duo |
Aden Cosmetics Malta |
150 |
V |
13933 |
| 13935 |
10 |
Shine Eyeshadow Powder Duo |
Aden Cosmetics Malta |
150 |
V |
13933 |
| 13936 |
2 |
Mono Shine Eyeshadow |
Aden Cosmetics Malta |
151 |
P |
0 |
| 13937 |
0 |
Mono Shine Eyeshadow |
Aden Cosmetics Malta |
151 |
V |
13936 |
| 13941 |
6 |
ME-RACLE Microblading Brow Tint |
Aden Cosmetics Malta |
152 |
P |
0 |
| 13942 |
10 |
ME-RACLE Microblading Brow Tint |
Aden Cosmetics Malta |
152 |
V |
13941 |
| 13998 |
10 |
Satin Effect Lipstick |
Aden Cosmetics Malta |
161 |
P |
0 |
| 13999 |
10 |
Satin Effect Lipstick |
Aden Cosmetics Malta |
161 |
V |
13998 |
| 14000 |
10 |
Satin Effect Lipstick |
Aden Cosmetics Malta |
161 |
V |
13998 |
| 14001 |
10 |
Tattoo Effect Lipstick |
Aden Cosmetics Malta |
162 |
P |
0 |
| 14002 |
10 |
Tattoo Effect Lipstick |
Aden Cosmetics Malta |
162 |
V |
14001 |
| 14003 |
10 |
Tattoo Effect Lipstick |
Aden Cosmetics Malta |
162 |
V |
14001 |
| 14004 |
10 |
Tattoo Effect Lipstick |
Aden Cosmetics Malta |
162 |
V |
14001 |
| 14005 |
5 |
Professional Liquid Lipstick |
Aden Cosmetics Malta |
163 |
P |
0 |
| 14006 |
4 |
Professional Liquid Lipstick |
Aden Cosmetics Malta |
163 |
V |
14005 |
| 14007 |
3 |
Professional Liquid Lipstick |
Aden Cosmetics Malta |
163 |
V |
14005 |
| 14008 |
5 |
Plumping Lip Lacquer |
Aden Cosmetics Malta |
164 |
P |
0 |
| 14009 |
5 |
Plumping Lip Lacquer |
Aden Cosmetics Malta |
164 |
V |
14008 |
| 14010 |
5 |
Plumping Lip Lacquer |
Aden Cosmetics Malta |
164 |
V |
14008 |