Query time 0.00066
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.103385075,
"filesort": {
"sort_key": "pf_groups.position, pf_groups_description.description, pf_groups.feature_id, pf.position, cscart_product_features_descriptions.description, pf.feature_id",
"temporary_table": {
"nested_loop": [
{
"table": {
"table_name": "cscart_product_features_values",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"fl",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "idx_product_feature_variant_id",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["const"],
"loops": 1,
"rows": 18,
"cost": 0.023000184,
"filtered": 54.22251892,
"attached_condition": "cscart_product_features_values.product_id <=> 141 and cscart_product_features_values.lang_code = 'de'"
}
},
{
"table": {
"table_name": "pf",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "status", "company_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["feature_id"],
"ref": ["cscart.cscart_product_features_values.feature_id"],
"loops": 9.760053619,
"rows": 1,
"cost": 0.017080186,
"filtered": 90.17432404,
"attached_condition": "pf.feature_type <> 'G' and pf.`status` = 'A' and pf.company_id in (0,1) and pf.display_on_product = 'Y' and (pf.categories_path = '' or pf.categories_path is null or find_in_set(43213,pf.categories_path))"
}
},
{
"table": {
"table_name": "pf_groups",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["feature_id"],
"ref": ["cscart.pf.parent_id"],
"loops": 8.801062039,
"rows": 1,
"cost": 0.015422065,
"filtered": 100,
"attached_condition": "trigcond(pf_groups.`status` = 'A' or pf_groups.`status` is null)"
}
},
{
"table": {
"table_name": "pf_groups_description",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["feature_id", "lang_code"],
"ref": ["cscart.pf.parent_id", "const"],
"loops": 8.801062039,
"rows": 1,
"cost": 0.015831665,
"filtered": 100,
"attached_condition": "trigcond(pf_groups_description.lang_code = 'de')"
}
},
{
"table": {
"table_name": "cscart_product_features_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["feature_id", "lang_code"],
"ref": ["cscart.cscart_product_features_values.feature_id", "const"],
"loops": 8.801062039,
"rows": 1,
"cost": 0.015831665,
"filtered": 100,
"attached_condition": "trigcond(cscart_product_features_descriptions.lang_code = 'de')"
}
},
{
"table": {
"table_name": "abt_filters",
"access_type": "ref",
"possible_keys": ["feature_id", "company_id"],
"key": "feature_id",
"key_length": "3",
"used_key_parts": ["feature_id"],
"ref": ["cscart.cscart_product_features_values.feature_id"],
"loops": 8.801062039,
"rows": 1,
"cost": 0.016219309,
"filtered": 100,
"attached_condition": "trigcond(abt_filters.company_id = pf.company_id)"
}
}
]
}
}
}
}
Result
feature_id |
company_id |
feature_type |
parent_id |
display_on_product |
display_on_catalog |
display_on_header |
description |
internal_name |
lang_code |
prefix |
suffix |
categories_path |
full_description |
status |
comparison |
position |
purpose |
feature_style |
filter_style |
feature_code |
timestamp |
updated_timestamp |
group_position |
value |
variant_id |
value_int |
filter_id |
343 |
1 |
E |
342 |
Y |
Y |
N |
Brand Name |
Brand Name |
de |
|
|
43213 |
|
A |
N |
0 |
organize_catalog |
brand |
checkbox |
|
1743674924 |
1743674924 |
0 |
|
2362 |
|
|
344 |
1 |
S |
342 |
Y |
Y |
N |
Coffee Type Used |
Coffee Type Used |
de |
|
|
43213 |
|
A |
N |
0 |
find_products |
text |
checkbox |
|
1743674924 |
1743674924 |
0 |
|
2366 |
|
|
346 |
1 |
S |
342 |
Y |
Y |
N |
Filter Type |
Filter Type |
de |
|
|
43213 |
|
A |
N |
0 |
find_products |
text |
checkbox |
|
1743674924 |
1743674924 |
0 |
|
2370 |
|
|
347 |
1 |
T |
342 |
Y |
Y |
N |
Item model number |
Item model number |
de |
|
|
43213 |
|
A |
N |
0 |
describe_product |
text |
|
|
1743674924 |
1743674924 |
0 |
BNV420BLK1BUC1 |
0 |
|
|
348 |
1 |
S |
342 |
Y |
Y |
N |
Pod Type |
Pod Type |
de |
|
|
43213 |
|
A |
N |
0 |
find_products |
text |
checkbox |
|
1743674924 |
1743674924 |
0 |
|
2374 |
|
|