Query time 0.00438
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 (264156,264927,264928,264929,264930,264931,264932,264933,264934,264935,264950,264951,264952,264953,264954)) 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 |
264156 |
649 |
62612 |
264927 |
649 |
62608 |
264928 |
649 |
62609 |
264929 |
649 |
62610 |
264930 |
649 |
62611 |
264931 |
649 |
62608 |
264932 |
649 |
62609 |
264933 |
649 |
62610 |
264934 |
649 |
62611 |
264935 |
649 |
62612 |
264950 |
649 |
62608 |
264951 |
649 |
62609 |
264952 |
649 |
62610 |
264953 |
649 |
62611 |
264954 |
649 |
62612 |
264156 |
882 |
60392 |
264927 |
882 |
60392 |
264928 |
882 |
60392 |
264929 |
882 |
60392 |
264930 |
882 |
60392 |
264931 |
882 |
60401 |
264932 |
882 |
60401 |
264933 |
882 |
60401 |
264934 |
882 |
60401 |
264935 |
882 |
60401 |
264950 |
882 |
60412 |
264951 |
882 |
60412 |
264952 |
882 |
60412 |
264953 |
882 |
60412 |
264954 |
882 |
60412 |