Query is invalid
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "5.10"
},
"ordering_operation": {
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "HP",
"access_type": "ref",
"possible_keys": [
"idx_hp_product_id"
],
"key": "idx_hp_product_id",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 6,
"rows_produced_per_join": 6,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.40",
"eval_cost": "0.60",
"prefix_cost": "3.00",
"data_read_per_join": "1K"
},
"used_columns": [
"id",
"product_id",
"price",
"currency",
"recycling_price_rub",
"discount_percent",
"price_difference",
"creator_id",
"created_at"
]
}
},
{
"table": {
"table_name": "CUR",
"access_type": "eq_ref",
"possible_keys": [
"currency_code"
],
"key": "currency_code",
"used_key_parts": [
"currency_code"
],
"key_length": "12",
"ref": [
"dev2.HP.currency"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 6,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.50",
"eval_cost": "0.60",
"prefix_cost": "5.10",
"data_read_per_join": "576"
},
"used_columns": [
"currency_id",
"currency_code",
"price"
]
}
}
]
}
}
}