Query time 0.00361
JSON explain
{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "fd.description, fv.position",
"temporary_table": {
"nested_loop": [
{
"table": {
"table_name": "v",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"fl",
"variant_id",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "idx_product_feature_variant_id",
"key_length": "3",
"used_key_parts": ["product_id"],
"rows": 191,
"filtered": 32.53516388,
"index_condition": "v.product_id in (11896,11262,10061,10355,11386,13306,12990,11385,13301,20483,11226,11902,13307,11905,13599,12988,13600,9371,11384,12240,9468,9816,13687,18467) and v.lang_code = 'en'"
}
},
{
"table": {
"table_name": "f",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "status"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["feature_id"],
"ref": ["lillyshop_lillyshop.v.feature_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "f.`status` = 'A' and f.display_on_catalog = 'Y' and (f.categories_path = '' or find_in_set(387,f.categories_path) or find_in_set(498,f.categories_path)) and if(f.parent_id,(subquery#2),'A') = 'A' and (v.variant_id <> 0 or f.feature_type <> 'C' and v.`value` <> '' or f.feature_type = 'C' or v.value_int <> '')"
}
},
{
"table": {
"table_name": "fd",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["feature_id", "lang_code"],
"ref": ["lillyshop_lillyshop.v.feature_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(fd.lang_code = 'en')"
}
},
{
"table": {
"table_name": "cscart_ult_objects_sharing",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "159",
"used_key_parts": [
"share_object_id",
"share_company_id",
"share_object_type"
],
"ref": ["lillyshop_lillyshop.v.feature_id", "const", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "cscart_ult_objects_sharing.share_object_id = v.feature_id and cscart_ult_objects_sharing.share_object_type = 'product_features'",
"using_index": true
}
},
{
"table": {
"table_name": "fv",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["variant_id"],
"ref": ["lillyshop_lillyshop.v.variant_id"],
"rows": 1,
"filtered": 100
}
},
{
"table": {
"table_name": "vd",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["variant_id", "lang_code"],
"ref": ["lillyshop_lillyshop.fv.variant_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(vd.lang_code = 'en' and trigcond(fv.variant_id is not null))"
}
},
{
"table": {
"table_name": "gf",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["feature_id"],
"ref": ["lillyshop_lillyshop.f.parent_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(gf.feature_type = 'G')"
}
}
],
"subqueries": [
{
"expression_cache": {
"state": "uninitialized",
"query_block": {
"select_id": 2,
"nested_loop": [
{
"table": {
"table_name": "df",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["feature_id"],
"ref": ["lillyshop_lillyshop.f.parent_id"],
"rows": 1,
"filtered": 100
}
}
]
}
}
}
]
}
}
}
}
Result
| product_id |
feature_id |
value |
value_int |
variant_id |
feature_type |
description |
prefix |
suffix |
variant |
parent_id |
position |
gposition |
| 9371 |
69 |
|
|
1941 |
E |
Brand |
|
|
ReformA |
0 |
0 |
|
| 13687 |
69 |
|
|
1941 |
E |
Brand |
|
|
ReformA |
0 |
0 |
|
| 12988 |
69 |
|
|
1941 |
E |
Brand |
|
|
ReformA |
0 |
0 |
|
| 13599 |
69 |
|
|
1941 |
E |
Brand |
|
|
ReformA |
0 |
0 |
|
| 9816 |
69 |
|
|
1941 |
E |
Brand |
|
|
ReformA |
0 |
0 |
|
| 11905 |
69 |
|
|
1941 |
E |
Brand |
|
|
ReformA |
0 |
0 |
|
| 13301 |
69 |
|
|
1941 |
E |
Brand |
|
|
ReformA |
0 |
0 |
|
| 11896 |
69 |
|
|
1941 |
E |
Brand |
|
|
ReformA |
0 |
0 |
|
| 10355 |
69 |
|
|
1941 |
E |
Brand |
|
|
ReformA |
0 |
0 |
|
| 11385 |
69 |
|
|
1941 |
E |
Brand |
|
|
ReformA |
0 |
0 |
|
| 11262 |
69 |
|
|
1941 |
E |
Brand |
|
|
ReformA |
0 |
0 |
|
| 18467 |
69 |
|
|
1941 |
E |
Brand |
|
|
ReformA |
0 |
0 |
|
| 13600 |
69 |
|
|
1941 |
E |
Brand |
|
|
ReformA |
0 |
0 |
|
| 13306 |
69 |
|
|
1941 |
E |
Brand |
|
|
ReformA |
0 |
0 |
|
| 9468 |
69 |
|
|
1941 |
E |
Brand |
|
|
ReformA |
0 |
0 |
|
| 12990 |
69 |
|
|
1941 |
E |
Brand |
|
|
ReformA |
0 |
0 |
|
| 12240 |
69 |
|
|
1941 |
E |
Brand |
|
|
ReformA |
0 |
0 |
|
| 10061 |
69 |
|
|
1941 |
E |
Brand |
|
|
ReformA |
0 |
0 |
|
| 13307 |
69 |
|
|
1941 |
E |
Brand |
|
|
ReformA |
0 |
0 |
|
| 11902 |
69 |
|
|
1941 |
E |
Brand |
|
|
ReformA |
0 |
0 |
|
| 11226 |
69 |
|
|
1941 |
E |
Brand |
|
|
ReformA |
0 |
0 |
|
| 11386 |
69 |
|
|
1941 |
E |
Brand |
|
|
ReformA |
0 |
0 |
|
| 11384 |
69 |
|
|
1941 |
E |
Brand |
|
|
ReformA |
0 |
0 |
|
| 12990 |
84 |
|
|
3104 |
S |
Color |
|
|
Red |
0 |
0 |
|
| 10061 |
84 |
|
|
3104 |
S |
Color |
|
|
Red |
0 |
0 |
|
| 11226 |
84 |
|
|
3094 |
S |
Color |
|
|
Violet |
0 |
0 |
|
| 13687 |
84 |
|
|
3090 |
S |
Color |
|
|
Light green |
0 |
0 |
|
| 13599 |
84 |
|
|
3092 |
S |
Color |
|
|
Grey |
0 |
0 |
|
| 9371 |
84 |
|
|
3100 |
S |
Color |
|
|
Yellow |
0 |
0 |
|
| 12988 |
84 |
|
|
3098 |
S |
Color |
|
|
Burgundy |
0 |
0 |
|
| 9816 |
84 |
|
|
3089 |
S |
Color |
|
|
Pink |
0 |
0 |
|
| 18467 |
84 |
|
|
3094 |
S |
Color |
|
|
Violet |
0 |
0 |
|
| 13600 |
84 |
|
|
3089 |
S |
Color |
|
|
Pink |
0 |
0 |
|
| 11226 |
70 |
|
|
1942 |
M |
Country of origin |
|
|
Great Britain |
0 |
0 |
|
| 11386 |
70 |
|
|
1942 |
M |
Country of origin |
|
|
Great Britain |
0 |
0 |
|
| 11384 |
70 |
|
|
1942 |
M |
Country of origin |
|
|
Great Britain |
0 |
0 |
|
| 9371 |
70 |
|
|
1942 |
M |
Country of origin |
|
|
Great Britain |
0 |
0 |
|
| 13687 |
70 |
|
|
1859 |
M |
Country of origin |
|
|
USA |
0 |
0 |
|
| 12988 |
70 |
|
|
1859 |
M |
Country of origin |
|
|
USA |
0 |
0 |
|
| 13599 |
70 |
|
|
1870 |
M |
Country of origin |
|
|
Ukraine |
0 |
0 |
|
| 9816 |
70 |
|
|
1942 |
M |
Country of origin |
|
|
Great Britain |
0 |
0 |
|
| 11905 |
70 |
|
|
1859 |
M |
Country of origin |
|
|
USA |
0 |
0 |
|
| 13301 |
70 |
|
|
1859 |
M |
Country of origin |
|
|
USA |
0 |
0 |
|
| 11896 |
70 |
|
|
1859 |
M |
Country of origin |
|
|
USA |
0 |
0 |
|
| 10355 |
70 |
|
|
1942 |
M |
Country of origin |
|
|
Great Britain |
0 |
0 |
|
| 11385 |
70 |
|
|
1942 |
M |
Country of origin |
|
|
Great Britain |
0 |
0 |
|
| 11262 |
70 |
|
|
1942 |
M |
Country of origin |
|
|
Great Britain |
0 |
0 |
|
| 13600 |
70 |
|
|
1859 |
M |
Country of origin |
|
|
USA |
0 |
0 |
|
| 9468 |
70 |
|
|
1942 |
M |
Country of origin |
|
|
Great Britain |
0 |
0 |
|
| 12990 |
70 |
|
|
1859 |
M |
Country of origin |
|
|
USA |
0 |
0 |
|
| 12240 |
70 |
|
|
1859 |
M |
Country of origin |
|
|
USA |
0 |
0 |
|
| 10061 |
70 |
|
|
1942 |
M |
Country of origin |
|
|
Great Britain |
0 |
0 |
|
| 13307 |
70 |
|
|
1859 |
M |
Country of origin |
|
|
USA |
0 |
0 |
|
| 11902 |
70 |
|
|
1859 |
M |
Country of origin |
|
|
USA |
0 |
0 |
|
| 12990 |
72 |
|
|
1898 |
M |
Gel polish effect |
|
|
With shimmer |
0 |
0 |
|
| 10061 |
72 |
|
|
1860 |
M |
Gel polish effect |
|
|
Enamel |
0 |
0 |
|
| 11902 |
72 |
|
|
1860 |
M |
Gel polish effect |
|
|
Enamel |
0 |
0 |
|
| 11226 |
72 |
|
|
1860 |
M |
Gel polish effect |
|
|
Enamel |
0 |
0 |
|
| 11386 |
72 |
|
|
1860 |
M |
Gel polish effect |
|
|
Enamel |
0 |
0 |
|
| 11384 |
72 |
|
|
1898 |
M |
Gel polish effect |
|
|
With shimmer |
0 |
0 |
|
| 9371 |
72 |
|
|
1897 |
M |
Gel polish effect |
|
|
Neon |
0 |
0 |
|
| 12988 |
72 |
|
|
1959 |
M |
Gel polish effect |
|
|
Gloss |
0 |
0 |
|
| 9816 |
72 |
|
|
1860 |
M |
Gel polish effect |
|
|
Enamel |
0 |
0 |
|
| 11905 |
72 |
|
|
1860 |
M |
Gel polish effect |
|
|
Enamel |
0 |
0 |
|
| 11896 |
72 |
|
|
1952 |
M |
Gel polish effect |
|
|
Yogurt |
0 |
0 |
|
| 10355 |
72 |
|
|
1860 |
M |
Gel polish effect |
|
|
Enamel |
0 |
0 |
|
| 11385 |
72 |
|
|
1860 |
M |
Gel polish effect |
|
|
Enamel |
0 |
0 |
|
| 11262 |
72 |
|
|
1860 |
M |
Gel polish effect |
|
|
Enamel |
0 |
0 |
|
| 9468 |
72 |
|
|
1860 |
M |
Gel polish effect |
|
|
Enamel |
0 |
0 |
|