Query time 0.00128
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.171968068,
"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": 34,
"cost": 0.01486481,
"filtered": 100,
"attached_condition": "variation_group_products.group_id in (135,136,156,146,140,131,158,141,144,154)",
"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": 34,
"rows": 1,
"cost": 0.05252936,
"filtered": 64.94845581,
"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": "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": 22.08247423,
"rows": 1,
"cost": 0.037841411,
"filtered": 100,
"attached_condition": "trigcond(descr1.lang_code = 'en')"
}
},
{
"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": 22.08247423,
"rows": 1,
"cost": 0.020570648,
"filtered": 100,
"attached_condition": "companies.`status` = 'A'"
}
},
{
"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": 22.08247423,
"rows": 1,
"cost": 0.023133591,
"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": 22.08247423,
"rows": 1,
"cost": 0.023028248,
"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 |
| 13861 |
10 |
Cream Foundation |
Aden Cosmetics Malta |
131 |
P |
0 |
| 13862 |
6 |
Cream Foundation |
Aden Cosmetics Malta |
131 |
V |
13861 |
| 13863 |
9 |
Cream Foundation |
Aden Cosmetics Malta |
131 |
V |
13861 |
| 13864 |
9 |
Cream Foundation |
Aden Cosmetics Malta |
131 |
V |
13861 |
| 13865 |
10 |
Cream Foundation |
Aden Cosmetics Malta |
131 |
V |
13861 |
| 13876 |
10 |
BB Cream Vegan |
Aden Cosmetics Malta |
135 |
P |
0 |
| 13877 |
10 |
BB Cream Vegan |
Aden Cosmetics Malta |
135 |
V |
13876 |
| 13878 |
10 |
BB Cream Vegan |
Aden Cosmetics Malta |
135 |
V |
13876 |
| 13879 |
2 |
BB Cream With Collagen |
Aden Cosmetics Malta |
136 |
P |
0 |
| 13880 |
0 |
BB Cream With Collagen |
Aden Cosmetics Malta |
136 |
V |
13879 |
| 13881 |
10 |
BB Cream With Collagen |
Aden Cosmetics Malta |
136 |
V |
13879 |
| 13882 |
10 |
BB Cream With Collagen |
Aden Cosmetics Malta |
136 |
V |
13879 |
| 13899 |
3 |
Cream Camouflage |
Aden Cosmetics Malta |
140 |
P |
0 |
| 13900 |
7 |
Cream Camouflage |
Aden Cosmetics Malta |
140 |
V |
13899 |
| 13901 |
7 |
Cream Camouflage |
Aden Cosmetics Malta |
140 |
V |
13899 |
| 13902 |
5 |
Dipliner |
Aden Cosmetics Malta |
141 |
P |
0 |
| 13903 |
7 |
Dipliner |
Aden Cosmetics Malta |
141 |
V |
13902 |
| 13913 |
10 |
Eye Styler Khol Kajal Eyeliner |
Aden Cosmetics Malta |
144 |
P |
0 |
| 13914 |
9 |
Eye Styler Khol Kajal Eyeliner |
Aden Cosmetics Malta |
144 |
V |
13913 |
| 13915 |
7 |
Eye Styler Khol Kajal Eyeliner |
Aden Cosmetics Malta |
144 |
V |
13913 |
| 13919 |
2 |
COLOR-ME Matic Eyeshaper |
Aden Cosmetics Malta |
146 |
P |
0 |
| 13920 |
2 |
COLOR-ME Matic Eyeshaper |
Aden Cosmetics Malta |
146 |
V |
13919 |
| 13947 |
5 |
Eyebrow Loose Powder |
Aden Cosmetics Malta |
154 |
P |
0 |
| 13948 |
5 |
Eyebrow Loose Powder |
Aden Cosmetics Malta |
154 |
V |
13947 |
| 13949 |
2 |
Eyebrow Loose Powder |
Aden Cosmetics Malta |
154 |
V |
13947 |
| 13963 |
10 |
COLOR-ME Lipliner Pencil |
Aden Cosmetics Malta |
156 |
P |
0 |
| 13964 |
9 |
COLOR-ME Lipliner Pencil |
Aden Cosmetics Malta |
156 |
V |
13963 |
| 13965 |
9 |
COLOR-ME Lipliner Pencil |
Aden Cosmetics Malta |
156 |
V |
13963 |
| 13966 |
10 |
COLOR-ME Lipliner Pencil |
Aden Cosmetics Malta |
156 |
V |
13963 |
| 13967 |
10 |
COLOR-ME Lipliner Pencil |
Aden Cosmetics Malta |
156 |
V |
13963 |
| 13968 |
9 |
COLOR-ME Lipliner Pencil |
Aden Cosmetics Malta |
156 |
V |
13963 |
| 13971 |
2 |
Creamy Velvet Lipstick |
Aden Cosmetics Malta |
158 |
P |
0 |
| 13972 |
2 |
Creamy Velvet Lipstick |
Aden Cosmetics Malta |
158 |
V |
13971 |
| 13973 |
1 |
Creamy Velvet Lipstick |
Aden Cosmetics Malta |
158 |
V |
13971 |