Query time 0.01933
JSON explain
{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "cscart_product_feature_variants.position, cscart_product_feature_variant_descriptions.variant",
"temporary_table": {
"table": {
"table_name": "cscart_product_features_values",
"access_type": "ref",
"possible_keys": ["variant_id", "lang_code", "product_id"],
"key": "product_id",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["const"],
"rows": 4,
"filtered": 100,
"attached_condition": "cscart_product_features_values.product_id <=> 162 and cscart_product_features_values.lang_code = 'ru'"
},
"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": [
"orbit_cscart_orbit_cscart.cscart_product_features_values.variant_id"
],
"rows": 1,
"filtered": 100,
"attached_condition": "cscart_product_feature_variants.feature_id = 16"
},
"table": {
"table_name": "cscart_product_features",
"access_type": "const",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["feature_id"],
"ref": ["const"],
"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": [
"orbit_cscart_orbit_cscart.cscart_product_features_values.variant_id",
"const"
],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_product_feature_variant_descriptions.lang_code = 'ru')"
},
"table": {
"table_name": "cscart_seo_names",
"access_type": "ref",
"possible_keys": ["PRIMARY", "dispatch"],
"key": "PRIMARY",
"key_length": "206",
"used_key_parts": ["object_id", "type", "dispatch", "lang_code"],
"ref": [
"orbit_cscart_orbit_cscart.cscart_product_features_values.variant_id",
"const",
"const",
"const"
],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_seo_names.`type` = 'e' and cscart_seo_names.dispatch = '' and cscart_seo_names.lang_code = 'ru' and (cscart_seo_names.company_id = 1 or cscart_seo_names.company_id = 0))"
}
}
}
}
}
Result
| variant_id |
variant |
description |
page_title |
meta_keywords |
meta_description |
lang_code |
yml2_unit |
feature_id |
url |
color |
position |
selected |
feature_type |
seo_name |
seo_path |
| 282 |
CC-FOA2 |
|
|
|
|
ru |
|
16 |
|
|
76 |
282 |
S |
|
|