Query time 0.00242
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 (12536,12538,12537,12540,12539,12542,12541,12544,12543,12545)) 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 |
| 12536 |
553 |
1935 |
| 12537 |
553 |
1935 |
| 12538 |
553 |
1935 |
| 12539 |
553 |
1935 |
| 12540 |
553 |
1935 |
| 12541 |
553 |
1935 |
| 12542 |
553 |
1935 |
| 12543 |
553 |
1935 |
| 12544 |
553 |
1935 |
| 12545 |
553 |
1935 |
| 12536 |
624 |
1803 |
| 12537 |
624 |
1803 |
| 12538 |
624 |
1803 |
| 12539 |
624 |
1803 |
| 12540 |
624 |
1803 |
| 12541 |
624 |
1803 |
| 12542 |
624 |
1803 |
| 12543 |
624 |
1803 |
| 12544 |
624 |
1803 |
| 12545 |
624 |
1803 |
| 12536 |
625 |
2423 |
| 12537 |
625 |
2415 |
| 12538 |
625 |
2131 |
| 12539 |
625 |
2426 |
| 12540 |
625 |
2173 |
| 12541 |
625 |
2423 |
| 12542 |
625 |
2415 |
| 12543 |
625 |
2131 |
| 12544 |
625 |
2426 |
| 12545 |
625 |
2173 |
| 12536 |
627 |
2424 |
| 12537 |
627 |
2424 |
| 12538 |
627 |
2424 |
| 12539 |
627 |
2424 |
| 12540 |
627 |
2424 |
| 12541 |
627 |
1836 |
| 12542 |
627 |
1836 |
| 12543 |
627 |
1836 |
| 12544 |
627 |
1836 |
| 12545 |
627 |
1836 |
| 12536 |
628 |
1660 |
| 12537 |
628 |
1660 |
| 12538 |
628 |
1660 |
| 12539 |
628 |
1660 |
| 12540 |
628 |
1660 |
| 12541 |
628 |
1660 |
| 12542 |
628 |
1660 |
| 12543 |
628 |
1660 |
| 12544 |
628 |
1660 |
| 12545 |
628 |
1660 |