Query time 0.00133
JSON explain
{
"query_block": {
"select_id": 1,
"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": 82,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'category' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in ('2934','2935','2936','2937','2686','2687','2938','2939','3155','3157','3158','3156','3154','3190','3654','3653','2456','2457','3553','3544','2458','2459','2460','2461','2462','2463','2362','384','2396','3160','3161','3159','3126','3131','3640','3641','3162','2464','2646','2647','2648','2465','310','311','312','151','2318','152','3','5','4','108','186','187','154','153','155','156','366','2684','2685','2940','2941','2942','2943','2944','2945','2946','2947','2948','3540','3449','3450','3451','3452','3667','3746','3753','3786','3883','3899','3906')"
}
}
},
"table": {
"table_name": "cscart_images",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["image_id"],
"ref": ["rfswire_cart.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": "107",
"used_key_parts": ["object_id", "lang_code", "object_holder"],
"ref": ["rfswire_cart.cscart_images.image_id", "const", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_common_descriptions.object_id = cscart_images.image_id and cscart_common_descriptions.object_holder = 'images' and cscart_common_descriptions.lang_code = 'en' and trigcond(cscart_images.image_id is not null))"
}
}
}
Result
| pair_id |
object_id |
object_type |
image_id |
detailed_id |
type |
position |
image_path |
alt |
image_x |
image_y |
images_image_id |
| 9577 |
3449 |
category |
0 |
16636 |
M |
0 |
|
|
|
|
|
| 9578 |
3450 |
category |
0 |
16637 |
M |
0 |
|
|
|
|
|
| 9579 |
3451 |
category |
0 |
16638 |
M |
0 |
|
|
|
|
|
| 9580 |
3452 |
category |
0 |
16639 |
M |
0 |
|
|
|
|
|