Query time 0.00233
JSON explain
{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "a.position",
"temporary_table": {
"nested_loop": [
{
"table": {
"table_name": "c",
"access_type": "range",
"possible_keys": ["PRIMARY", "product_id"],
"key": "product_id",
"key_length": "3",
"used_key_parts": ["product_id"],
"rows": 33,
"filtered": 100,
"index_condition": "c.product_id in (26977,6554,15218,41399,25730,47599,2015,2255,6098,48826,40526,6555,25180,286,4071,26854,405,5226,26604,294,33718,2576,26608,26864,2414,21188,2797,2492,26846,2302,6523,38560)"
}
},
{
"table": {
"table_name": "a",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "c_status"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["option_id"],
"ref": ["dev_db.c.option_id"],
"rows": 1,
"filtered": 95.83333588,
"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": ["dev_db.c.option_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(b.lang_code = 'en')"
}
}
]
}
}
}
}
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 |
option_name |
internal_option_name |
option_text |
description |
inner_hint |
incorrect_message |
comment |
2302 |
187 |
0 |
258 |
R |
|
N |
N |
|
0 |
M |
A |
0 |
|
Gift service |
Gift service |
|
|
|
|
|
47599 |
1425 |
0 |
525 |
C |
|
N |
N |
|
0 |
M |
A |
0 |
|
10206_Add-on |
Customized messages 60k - NOW FREE |
|
|
|
|
|
48826 |
1430 |
0 |
27 |
C |
|
N |
N |
|
0 |
M |
A |
0 |
|
Add-on |
Name embroidery |
|
|
|
|
|
26977 |
712 |
0 |
572 |
R |
|
Y |
N |
|
0 |
M |
A |
10 |
|
Set Socks |
Set Socks |
|
|
|
|
|
2255 |
601 |
0 |
75 |
R |
|
Y |
N |
|
0 |
M |
A |
20 |
|
RADERMECKER |
RADERMECKER |
|
|
|
|
|
2255 |
194 |
0 |
75 |
R |
|
N |
N |
|
0 |
M |
A |
30 |
|
Add-on |
Add-on |
|
|
|
|
|