Query time 0.00035
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.038392686,
"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"],
"loops": 1,
"rows": 5,
"cost": 0.01808392,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in (15168,15169,14130,14131,14132)"
}
}
}
},
{
"table": {
"table_name": "cscart_images",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["image_id"],
"ref": ["u508912950_dev_2025.cscart_images_links.detailed_id"],
"loops": 5,
"rows": 1,
"cost": 0.0085682,
"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": ["u508912950_dev_2025.cscart_images.image_id", "const", "const"],
"loops": 5,
"rows": 1,
"cost": 0.0085682,
"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 |
| 0 |
WhatsApp_Image_2025-04-08_at_14.20.23__1__wuj7-u5.png |
2048 |
1365 |
N |
N |
23347 |
15168 |
product |
25126 |
M |
0 |
|
25126 |
| 0 |
WhatsApp_Image_2025-04-08_at_14.18.18__1___2_.png |
2048 |
2048 |
N |
N |
22192 |
14130 |
product |
23977 |
M |
1 |
|
23977 |
| 0 |
WhatsApp_Image_2025-04-08_at_14.20.23__2_.png |
2048 |
1365 |
N |
N |
23349 |
15169 |
product |
25127 |
M |
1 |
|
25127 |
| 0 |
WhatsApp_Image_2025-04-08_at_14.18.19.png |
2048 |
1472 |
N |
N |
22197 |
14132 |
product |
23980 |
M |
2 |
|
23980 |
| 0 |
WhatsApp_Image_2025-04-08_at_14.18.18__2_.jpg |
2048 |
2048 |
N |
N |
22196 |
14131 |
product |
23979 |
M |
4 |
|
23979 |