Query time 0.00213
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "13.08"
},
"table": {
"table_name": "cscart_product_features_values",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"fl",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "lang_code",
"used_key_parts": [
"lang_code",
"feature_id",
"product_id"
],
"key_length": "12",
"rows_examined_per_scan": 30,
"rows_produced_per_join": 30,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "7.08",
"eval_cost": "6.00",
"prefix_cost": "13.08",
"data_read_per_join": "23K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
],
"attached_condition": "((`webmarco`.`cscart_product_features_values`.`product_id` in (264226,264884,264885,264886,264887,264888,264889,264890,264891,264892,264893,264894,264895,264896,264897)) and (`webmarco`.`cscart_product_features_values`.`feature_id` in (649,882)) and (`webmarco`.`cscart_product_features_values`.`lang_code` = 'en'))"
}
}
}
Result
product_id |
feature_id |
variant_id |
264226 |
649 |
62608 |
264884 |
649 |
62609 |
264885 |
649 |
62610 |
264886 |
649 |
62611 |
264887 |
649 |
62612 |
264888 |
649 |
62608 |
264889 |
649 |
62609 |
264890 |
649 |
62610 |
264891 |
649 |
62611 |
264892 |
649 |
62612 |
264893 |
649 |
62608 |
264894 |
649 |
62609 |
264895 |
649 |
62610 |
264896 |
649 |
62611 |
264897 |
649 |
62612 |
264226 |
882 |
60395 |
264884 |
882 |
60395 |
264885 |
882 |
60395 |
264886 |
882 |
60395 |
264887 |
882 |
60395 |
264888 |
882 |
60401 |
264889 |
882 |
60401 |
264890 |
882 |
60401 |
264891 |
882 |
60401 |
264892 |
882 |
60401 |
264893 |
882 |
60416 |
264894 |
882 |
60416 |
264895 |
882 |
60416 |
264896 |
882 |
60416 |
264897 |
882 |
60416 |