Query time 0.00114
JSON explain
{
"query_block": {
"select_id": 1,
"filesort": {
"temporary_table": {
"function": "buffer",
"table": {
"table_name": "cscart_product_features_values",
"access_type": "ref",
"possible_keys": [
"variant_id",
"lang_code",
"product_id",
"idx_product_feature_variant_id"
],
"key": "idx_product_feature_variant_id",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["const"],
"rows": 4,
"filtered": 100,
"attached_condition": "(cscart_product_features_values.lang_code = 'en')",
"using_index": true
},
"table": {
"table_name": "cscart_product_feature_variants",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "feature_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["variant_id"],
"ref": ["egkcysbp_cscartn.cscart_product_features_values.variant_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "(cscart_product_feature_variants.feature_id in (549,548))"
},
"table": {
"table_name": "cscart_product_features",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["feature_id"],
"ref": ["egkcysbp_cscartn.cscart_product_feature_variants.feature_id"],
"rows": 1,
"filtered": 100
},
"table": {
"table_name": "cscart_product_feature_variant_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["variant_id", "lang_code"],
"ref": [
"egkcysbp_cscartn.cscart_product_features_values.variant_id",
"const"
],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond((cscart_product_feature_variant_descriptions.lang_code = 'en'))"
}
}
}
}
}
Result
variant |
variant_id |
feature_id |
selected |
feature_type |
Captiva |
1211 |
548 |
1211 |
S |
Silver |
1202 |
549 |
1202 |
S |