Query time 0.00046
JSON explain
{
"query_block": {
"select_id": 1,
"nested_loop": [
{
"read_sorted_file": {
"filesort": {
"sort_key": "cscart_images_links.position, cscart_images_links.pair_id",
"table": {
"table_name": "cscart_images_links",
"access_type": "range",
"possible_keys": ["object_id"],
"key": "object_id",
"key_length": "81",
"used_key_parts": ["object_id", "object_type", "type"],
"rows": 7,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'abt__ut2/menu-with-icon' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in (218,219,220,221,222,223,224)"
}
}
}
},
{
"table": {
"table_name": "cscart_images",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["image_id"],
"ref": ["cscart_4183_25.cscart_images_links.image_id"],
"rows": 1,
"filtered": 100
}
},
{
"table": {
"table_name": "cscart_common_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "108",
"used_key_parts": ["object_id", "lang_code", "object_holder"],
"ref": ["cscart_4183_25.cscart_images.image_id", "const", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_common_descriptions.object_holder = 'images' and cscart_common_descriptions.lang_code = 'en' and trigcond(cscart_images.image_id is not null))"
}
}
]
}
}
Result
image_id |
image_path |
image_x |
image_y |
is_high_res |
transparent |
pair_id |
object_id |
object_type |
detailed_id |
type |
position |
alt |
images_image_id |
8727 |
212-abt__ut2_mwi__icon_mgsf-0i.png |
200 |
150 |
N |
Y |
3337 |
218 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
8727 |
8728 |
213-abt__ut2_mwi__icon_criq-cb.png |
200 |
150 |
N |
Y |
3338 |
219 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
8728 |
8729 |
214-abt__ut2_mwi__icon_2q9p-91.png |
200 |
150 |
N |
Y |
3339 |
220 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
8729 |
8730 |
215-abt__ut2_mwi__icon_itcn-eh.png |
200 |
150 |
N |
Y |
3340 |
221 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
8730 |
8731 |
216-abt__ut2_mwi__icon_qu71-1b.png |
200 |
150 |
N |
Y |
3341 |
222 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
8731 |
8732 |
217-abt__ut2_mwi__icon_rag1-rg.png |
200 |
150 |
N |
Y |
3342 |
223 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
8732 |
8733 |
218-abt__ut2_mwi__icon_eu57-he.png |
200 |
150 |
N |
Y |
3343 |
224 |
abt__ut2/menu-with-icon |
0 |
M |
0 |
|
8733 |