Query time 0.00319
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": 153,
"filtered": 32.53516388,
"index_condition": "v.product_id in (12408,12409,12406,12407,11798,10782,12410,12088,11802,13619,18138,11801) 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(443,f.categories_path) or find_in_set(444,f.categories_path) or find_in_set(445,f.categories_path) or find_in_set(718,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 |
| 12406 |
9 |
|
|
1460 |
M |
Amount in a package |
|
|
6 pcs |
0 |
0 |
|
| 12088 |
9 |
|
|
1460 |
M |
Amount in a package |
|
|
6 pcs |
0 |
0 |
|
| 12407 |
9 |
|
|
1460 |
M |
Amount in a package |
|
|
6 pcs |
0 |
0 |
|
| 11798 |
9 |
|
|
1460 |
M |
Amount in a package |
|
|
6 pcs |
0 |
0 |
|
| 11802 |
9 |
|
|
1460 |
M |
Amount in a package |
|
|
6 pcs |
0 |
0 |
|
| 12409 |
9 |
|
|
1460 |
M |
Amount in a package |
|
|
6 pcs |
0 |
0 |
|
| 10782 |
9 |
|
|
1460 |
M |
Amount in a package |
|
|
6 pcs |
0 |
0 |
|
| 12408 |
9 |
|
|
1460 |
M |
Amount in a package |
|
|
6 pcs |
0 |
0 |
|
| 11801 |
9 |
|
|
1460 |
M |
Amount in a package |
|
|
6 pcs |
0 |
0 |
|
| 12410 |
9 |
|
|
1460 |
M |
Amount in a package |
|
|
6 pcs |
0 |
0 |
|
| 18138 |
9 |
|
|
1460 |
M |
Amount in a package |
|
|
6 pcs |
0 |
0 |
|
| 11802 |
69 |
|
|
1887 |
E |
Brand |
|
|
Staleks |
0 |
0 |
|
| 10782 |
69 |
|
|
1887 |
E |
Brand |
|
|
Staleks |
0 |
0 |
|
| 11801 |
69 |
|
|
1887 |
E |
Brand |
|
|
Staleks |
0 |
0 |
|
| 18138 |
69 |
|
|
1887 |
E |
Brand |
|
|
Staleks |
0 |
0 |
|
| 13619 |
69 |
|
|
1887 |
E |
Brand |
|
|
Staleks |
0 |
0 |
|
| 12406 |
69 |
|
|
1887 |
E |
Brand |
|
|
Staleks |
0 |
0 |
|
| 12407 |
69 |
|
|
1887 |
E |
Brand |
|
|
Staleks |
0 |
0 |
|
| 12409 |
69 |
|
|
1887 |
E |
Brand |
|
|
Staleks |
0 |
0 |
|
| 12408 |
69 |
|
|
1887 |
E |
Brand |
|
|
Staleks |
0 |
0 |
|
| 12410 |
69 |
|
|
1887 |
E |
Brand |
|
|
Staleks |
0 |
0 |
|
| 11798 |
69 |
|
|
1887 |
E |
Brand |
|
|
Staleks |
0 |
0 |
|
| 12088 |
69 |
|
|
1887 |
E |
Brand |
|
|
Staleks |
0 |
0 |
|
| 12409 |
84 |
|
|
3093 |
S |
Color |
|
|
Dark blue |
0 |
0 |
|
| 12406 |
84 |
|
|
3104 |
S |
Color |
|
|
Red |
0 |
0 |
|
| 12408 |
84 |
|
|
3093 |
S |
Color |
|
|
Dark blue |
0 |
0 |
|
| 12407 |
84 |
|
|
3104 |
S |
Color |
|
|
Red |
0 |
0 |
|
| 11798 |
84 |
|
|
3093 |
S |
Color |
|
|
Dark blue |
0 |
0 |
|
| 11798 |
70 |
|
|
1870 |
M |
Country of origin |
|
|
Ukraine |
0 |
0 |
|
| 12088 |
70 |
|
|
1870 |
M |
Country of origin |
|
|
Ukraine |
0 |
0 |
|
| 11802 |
70 |
|
|
1870 |
M |
Country of origin |
|
|
Ukraine |
0 |
0 |
|
| 10782 |
70 |
|
|
1870 |
M |
Country of origin |
|
|
Ukraine |
0 |
0 |
|
| 11801 |
70 |
|
|
1870 |
M |
Country of origin |
|
|
Ukraine |
0 |
0 |
|
| 18138 |
70 |
|
|
1870 |
M |
Country of origin |
|
|
Ukraine |
0 |
0 |
|
| 13619 |
70 |
|
|
1870 |
M |
Country of origin |
|
|
Ukraine |
0 |
0 |
|
| 12406 |
70 |
|
|
1870 |
M |
Country of origin |
|
|
Ukraine |
0 |
0 |
|
| 12407 |
70 |
|
|
1870 |
M |
Country of origin |
|
|
Ukraine |
0 |
0 |
|
| 12409 |
70 |
|
|
1870 |
M |
Country of origin |
|
|
Ukraine |
0 |
0 |
|
| 12408 |
70 |
|
|
1870 |
M |
Country of origin |
|
|
Ukraine |
0 |
0 |
|
| 12410 |
70 |
|
|
1870 |
M |
Country of origin |
|
|
Ukraine |
0 |
0 |
|
| 12406 |
76 |
|
|
4 |
M |
Diameter |
|
|
100/100 grit |
0 |
0 |
|
| 12407 |
76 |
|
|
5 |
M |
Diameter |
|
|
120/120 grit |
0 |
0 |
|
| 12409 |
76 |
|
|
3733 |
M |
Diameter |
|
|
5 mm |
0 |
0 |
|
| 12406 |
76 |
|
|
3732 |
M |
Diameter |
|
|
4 mm |
0 |
0 |
|
| 12408 |
76 |
|
|
3732 |
M |
Diameter |
|
|
4 mm |
0 |
0 |
|
| 12407 |
76 |
|
|
3733 |
M |
Diameter |
|
|
5 mm |
0 |
0 |
|
| 11798 |
76 |
|
|
2957 |
M |
Diameter |
|
|
2,5 mm |
0 |
0 |
|
| 13619 |
76 |
|
|
3730 |
M |
Diameter |
|
|
1.6 mm |
0 |
0 |
|
| 18138 |
76 |
|
|
3631 |
M |
Diameter |
|
|
1,6 |
0 |
0 |
|
| 12088 |
30 |
|
|
1767 |
S |
Head diameter |
|
|
1.4 mm |
0 |
0 |
|
| 11802 |
30 |
|
|
677 |
S |
Head diameter |
|
|
1.6 mm |
0 |
0 |
|
| 10782 |
30 |
|
|
533 |
S |
Head diameter |
|
|
2.5 mm |
0 |
0 |
|
| 11801 |
30 |
|
|
677 |
S |
Head diameter |
|
|
1.6 mm |
0 |
0 |
|
| 18138 |
30 |
|
|
3632 |
S |
Head diameter |
|
|
1,6 |
0 |
0 |
|
| 18138 |
32 |
|
|
57 |
S |
Rigidity |
|
|
Soft |
0 |
0 |
|
| 11798 |
32 |
|
|
157 |
S |
Rigidity |
|
|
Medium |
0 |
0 |
|
| 12088 |
32 |
|
|
157 |
S |
Rigidity |
|
|
Medium |
0 |
0 |
|
| 11802 |
32 |
|
|
157 |
S |
Rigidity |
|
|
Medium |
0 |
0 |
|
| 10782 |
32 |
|
|
157 |
S |
Rigidity |
|
|
Medium |
0 |
0 |
|
| 11801 |
32 |
|
|
57 |
S |
Rigidity |
|
|
Soft |
0 |
0 |
|
| 12407 |
75 |
|
|
2369 |
S |
The form |
|
|
Ball |
0 |
0 |
|
| 12409 |
75 |
|
|
2369 |
S |
The form |
|
|
Ball |
0 |
0 |
|
| 12408 |
75 |
|
|
2369 |
S |
The form |
|
|
Ball |
0 |
0 |
|
| 12410 |
75 |
|
|
2071 |
S |
The form |
|
|
A drop |
0 |
0 |
|
| 11798 |
75 |
|
|
2403 |
S |
The form |
|
|
Cylinder |
0 |
0 |
|
| 12088 |
75 |
|
|
1908 |
S |
The form |
|
|
Flame |
0 |
0 |
|
| 11802 |
75 |
|
|
1908 |
S |
The form |
|
|
Flame |
0 |
0 |
|
| 10782 |
75 |
|
|
2071 |
S |
The form |
|
|
A drop |
0 |
0 |
|
| 11801 |
75 |
|
|
1908 |
S |
The form |
|
|
Flame |
0 |
0 |
|
| 18138 |
75 |
|
|
1908 |
S |
The form |
|
|
Flame |
0 |
0 |
|
| 12406 |
75 |
|
|
2369 |
S |
The form |
|
|
Ball |
0 |
0 |
|
| 12410 |
6 |
|
|
3727 |
S |
The size |
|
|
1.6 mm |
0 |
0 |
|