{
"query_block": {
"select_id": 1,
"cost": 0.050190226,
"nested_loop": [
{
"read_sorted_file": {
"filesort": {
"sort_key": "a.position, a.variant_id",
"table": {
"table_name": "a",
"access_type": "range",
"possible_keys": ["status", "option_id", "option_id_2"],
"key": "option_id",
"key_length": "6",
"used_key_parts": ["option_id", "status"],
"loops": 1,
"rows": 15,
"cost": 0.02310312,
"filtered": 100,
"index_condition": "a.option_id in (29,34,30,31,28) and a.`status` = 'A'"
}
}
}
},
{
"table": {
"table_name": "b",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["variant_id", "lang_code"],
"ref": ["u428615623_ecartifygonje.a.variant_id", "const"],
"loops": 15,
"rows": 1,
"cost": 0.0175126,
"filtered": 100,
"attached_condition": "trigcond(b.lang_code = 'en')"
}
}
]
}
}
| variant_name | variant_id | option_id | position | modifier | modifier_type | weight_modifier | weight_modifier_type | point_modifier | point_modifier_type | status |
|---|---|---|---|---|---|---|---|---|---|---|
| 1L | 133 | 28 | 10 | 0.000 | A | 0.000 | A | 0.000 | A | A |
| 1L | 136 | 29 | 10 | 0.000 | A | 0.000 | A | 0.000 | A | A |
| 1L | 139 | 30 | 10 | 0.000 | A | 0.000 | A | 0.000 | A | A |
| 1L | 142 | 31 | 10 | 0.000 | A | 0.000 | A | 0.000 | A | A |
| No Chilli | 152 | 34 | 10 | 0.000 | A | 0.000 | A | 0.000 | A | A |
| 5L | 135 | 28 | 20 | 120.000 | A | 0.000 | A | 0.000 | A | A |
| 3L | 137 | 29 | 20 | 70.000 | A | 0.000 | A | 0.000 | A | A |
| 3L | 140 | 30 | 20 | 55.000 | A | 0.000 | A | 0.000 | A | A |
| 3L | 143 | 31 | 20 | 50.000 | A | 0.000 | A | 0.000 | A | A |
| Mild | 153 | 34 | 20 | 0.000 | A | 0.000 | A | 0.000 | A | A |
| 3L | 134 | 28 | 30 | 60.000 | A | 0.000 | A | 0.000 | A | A |
| 5L | 138 | 29 | 30 | 140.000 | A | 0.000 | A | 0.000 | A | A |
| 5L | 141 | 30 | 30 | 110.000 | A | 0.000 | A | 0.000 | A | A |
| 5L | 144 | 31 | 30 | 100.000 | A | 0.000 | A | 0.000 | A | A |
| Spicy | 154 | 34 | 30 | 0.000 | A | 0.000 | A | 0.000 | A | A |