Query time 0.00390
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "4.85"
},
"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": "PRIMARY",
"used_key_parts": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
],
"key_length": "15",
"rows_examined_per_scan": 9,
"rows_produced_per_join": 9,
"filtered": "100.00",
"using_index_for_skip_scan": true,
"cost_info": {
"read_cost": "3.95",
"eval_cost": "0.90",
"prefix_cost": "4.85",
"data_read_per_join": "6K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
],
"attached_condition": "((`test2_gaseus`.`cscart_product_features_values`.`product_id` in (12896,12897,12898,12899)) and (`test2_gaseus`.`cscart_product_features_values`.`feature_id` in (637,636,623,622,626,553,625,624,627,628,595)) and (`test2_gaseus`.`cscart_product_features_values`.`lang_code` = 'en'))"
}
}
}
Result
| product_id |
feature_id |
variant_id |
| 12896 |
553 |
1973 |
| 12897 |
553 |
1973 |
| 12898 |
553 |
1973 |
| 12899 |
553 |
1973 |
| 12896 |
595 |
2451 |
| 12897 |
595 |
2451 |
| 12898 |
595 |
2451 |
| 12899 |
595 |
2455 |
| 12896 |
622 |
2443 |
| 12897 |
622 |
2443 |
| 12898 |
622 |
2443 |
| 12899 |
622 |
2448 |
| 12896 |
623 |
2471 |
| 12897 |
623 |
2471 |
| 12898 |
623 |
2471 |
| 12899 |
623 |
2477 |
| 12896 |
624 |
1694 |
| 12897 |
624 |
1694 |
| 12898 |
624 |
1694 |
| 12899 |
624 |
1694 |
| 12896 |
625 |
2464 |
| 12897 |
625 |
2467 |
| 12898 |
625 |
2467 |
| 12899 |
625 |
2467 |
| 12896 |
626 |
2466 |
| 12897 |
626 |
2463 |
| 12898 |
626 |
2468 |
| 12899 |
626 |
2468 |
| 12896 |
627 |
1659 |
| 12897 |
627 |
1659 |
| 12898 |
627 |
1659 |
| 12899 |
627 |
1659 |
| 12896 |
628 |
1660 |
| 12897 |
628 |
1660 |
| 12898 |
628 |
1660 |
| 12899 |
628 |
1660 |
| 12896 |
636 |
2344 |
| 12897 |
636 |
2344 |
| 12898 |
636 |
2344 |
| 12899 |
636 |
2344 |
| 12896 |
637 |
2350 |
| 12897 |
637 |
2350 |
| 12898 |
637 |
2350 |
| 12899 |
637 |
2350 |