Query time 0.00189
JSON explain
{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "a.position",
"temporary_table": {
"nested_loop": [
{
"table": {
"table_name": "c",
"access_type": "index",
"possible_keys": ["PRIMARY", "product_id"],
"key": "PRIMARY",
"key_length": "6",
"used_key_parts": ["option_id", "product_id"],
"rows": 26,
"filtered": 23.07692337,
"attached_condition": "c.product_id in (28,34,38,31,41,27)",
"using_index": true
}
},
{
"table": {
"table_name": "a",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "c_status"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["option_id"],
"ref": ["cscart.c.option_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "a.product_id = 0 and a.`status` = 'A'"
}
},
{
"table": {
"table_name": "b",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["option_id", "lang_code"],
"ref": ["cscart.c.option_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(b.lang_code = 'ru')"
}
}
]
}
}
}
}
Result
| cur_product_id |
option_id |
product_id |
company_id |
option_type |
regexp |
required |
multiupload |
allowed_extensions |
max_file_size |
missing_variants_handling |
status |
position |
value |
yml2_type_options |
yml2_option_param |
option_name |
internal_option_name |
option_text |
description |
inner_hint |
incorrect_message |
comment |
| 27 |
2 |
0 |
0 |
S |
|
N |
N |
|
0 |
M |
A |
20 |
|
|
|
Размер |
Размер одежды |
Размер |
|
|
|
|
| 28 |
2 |
0 |
0 |
S |
|
N |
N |
|
0 |
M |
A |
20 |
|
|
|
Размер |
Размер одежды |
Размер |
|
|
|
|
| 31 |
2 |
0 |
0 |
S |
|
N |
N |
|
0 |
M |
A |
20 |
|
|
|
Размер |
Размер одежды |
Размер |
|
|
|
|
| 34 |
2 |
0 |
0 |
S |
|
N |
N |
|
0 |
M |
A |
20 |
|
|
|
Размер |
Размер одежды |
Размер |
|
|
|
|
| 38 |
2 |
0 |
0 |
S |
|
N |
N |
|
0 |
M |
A |
20 |
|
|
|
Размер |
Размер одежды |
Размер |
|
|
|
|
| 41 |
2 |
0 |
0 |
S |
|
N |
N |
|
0 |
M |
A |
20 |
|
|
|
Размер |
Размер одежды |
Размер |
|
|
|
|