Query time 0.00390
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "5.39"
},
"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": 11,
"rows_produced_per_join": 11,
"filtered": "100.00",
"using_index_for_skip_scan": true,
"cost_info": {
"read_cost": "4.29",
"eval_cost": "1.10",
"prefix_cost": "5.39",
"data_read_per_join": "8K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
],
"attached_condition": "((`test2_gaseus`.`cscart_product_features_values`.`product_id` in (12524,12525,12526,12528,12527,12530,12529,12531,12532,12533,12534,12535)) and (`test2_gaseus`.`cscart_product_features_values`.`feature_id` in (553,625,624,627,628)) and (`test2_gaseus`.`cscart_product_features_values`.`lang_code` = 'en'))"
}
}
}
Result
| product_id |
feature_id |
variant_id |
| 12524 |
553 |
1935 |
| 12525 |
553 |
1935 |
| 12526 |
553 |
1935 |
| 12527 |
553 |
1935 |
| 12528 |
553 |
1935 |
| 12529 |
553 |
1935 |
| 12530 |
553 |
1935 |
| 12531 |
553 |
1935 |
| 12532 |
553 |
1935 |
| 12533 |
553 |
1935 |
| 12534 |
553 |
1935 |
| 12535 |
553 |
1935 |
| 12524 |
624 |
2381 |
| 12525 |
624 |
2381 |
| 12526 |
624 |
2381 |
| 12527 |
624 |
2381 |
| 12528 |
624 |
1803 |
| 12529 |
624 |
1803 |
| 12530 |
624 |
1803 |
| 12531 |
624 |
1803 |
| 12532 |
624 |
2381 |
| 12533 |
624 |
2381 |
| 12534 |
624 |
2381 |
| 12535 |
624 |
2381 |
| 12524 |
625 |
2423 |
| 12525 |
625 |
2415 |
| 12526 |
625 |
2131 |
| 12527 |
625 |
2426 |
| 12528 |
625 |
2423 |
| 12529 |
625 |
2415 |
| 12530 |
625 |
2131 |
| 12531 |
625 |
2426 |
| 12532 |
625 |
2423 |
| 12533 |
625 |
2415 |
| 12534 |
625 |
2131 |
| 12535 |
625 |
2426 |
| 12524 |
627 |
2424 |
| 12525 |
627 |
2424 |
| 12526 |
627 |
2424 |
| 12527 |
627 |
2424 |
| 12528 |
627 |
2424 |
| 12529 |
627 |
2424 |
| 12530 |
627 |
2424 |
| 12531 |
627 |
2424 |
| 12532 |
627 |
1836 |
| 12533 |
627 |
1836 |
| 12534 |
627 |
1836 |
| 12535 |
627 |
1836 |
| 12524 |
628 |
1712 |
| 12525 |
628 |
1712 |
| 12526 |
628 |
1712 |
| 12527 |
628 |
1712 |
| 12528 |
628 |
1712 |
| 12529 |
628 |
1712 |
| 12530 |
628 |
1712 |
| 12531 |
628 |
1712 |
| 12532 |
628 |
1712 |
| 12533 |
628 |
1712 |
| 12534 |
628 |
1712 |
| 12535 |
628 |
1712 |