Query time 0.00047
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.01193471,
"nested_loop": [
{
"table": {
"table_name": "p",
"access_type": "range",
"possible_keys": ["PRIMARY", "idx_group_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["product_id"],
"loops": 1,
"rows": 1,
"cost": 0.00676251,
"filtered": 100,
"attached_condition": "p.product_id in (292,293,291,290,289,288)"
}
},
{
"table": {
"table_name": "f",
"access_type": "ref",
"possible_keys": ["idx_group_id"],
"key": "idx_group_id",
"key_length": "3",
"used_key_parts": ["group_id"],
"ref": ["u358358020_main.p.group_id"],
"loops": 1,
"rows": 1,
"cost": 0.00345856,
"filtered": 100
}
},
{
"table": {
"table_name": "g",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["id"],
"ref": ["u358358020_main.p.group_id"],
"loops": 1,
"rows": 1,
"cost": 0.00171364,
"filtered": 100
}
}
]
}
}