Query time 0.00091
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": 28,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'category' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in ('3868','3842','3843','3837','3733','3848','1090','3851','3869','3732','3798','3790','3726','3867','3834','1089','3835','3836','2331','3847','3855','3856','3866','1088','2330','3841')"
}
}
},
"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 |
| 10496 |
3790 |
category |
0 |
17559 |
M |
0 |
|
|
|
|
|
| 10497 |
1088 |
category |
0 |
17560 |
M |
0 |
|
|
|
|
|
| 10499 |
1090 |
category |
0 |
17562 |
M |
0 |
|
|
|
|
|
| 10500 |
2330 |
category |
0 |
17563 |
M |
0 |
|
|
|
|
|
| 10501 |
3798 |
category |
0 |
17564 |
M |
0 |
|
|
|
|
|
| 10506 |
2331 |
category |
0 |
17569 |
M |
0 |
|
|
|
|
|
| 10508 |
3834 |
category |
0 |
17571 |
M |
0 |
|
|
|
|
|
| 10509 |
3835 |
category |
0 |
17572 |
M |
0 |
|
|
|
|
|
| 10510 |
3836 |
category |
0 |
17573 |
M |
0 |
|
|
|
|
|
| 10511 |
3837 |
category |
0 |
17574 |
M |
0 |
|
|
|
|
|
| 10512 |
3841 |
category |
0 |
17575 |
M |
0 |
|
|
|
|
|
| 10513 |
3848 |
category |
0 |
17576 |
M |
0 |
|
|
|
|
|
| 10514 |
3851 |
category |
0 |
17577 |
M |
0 |
|
|
|
|
|
| 10531 |
3726 |
category |
0 |
17594 |
M |
0 |
|
|
|
|
|
| 10532 |
3732 |
category |
0 |
17595 |
M |
0 |
|
|
|
|
|
| 10533 |
3733 |
category |
0 |
17596 |
M |
0 |
|
|
|
|
|
| 10534 |
3855 |
category |
0 |
17597 |
M |
0 |
|
|
|
|
|
| 10536 |
3843 |
category |
0 |
17599 |
M |
0 |
|
|
|
|
|
| 10537 |
3842 |
category |
0 |
17600 |
M |
0 |
|
|
|
|
|
| 10538 |
3856 |
category |
0 |
17601 |
M |
0 |
|
|
|
|
|
| 10539 |
3866 |
category |
0 |
17602 |
M |
0 |
|
|
|
|
|
| 10540 |
3867 |
category |
0 |
17603 |
M |
0 |
|
|
|
|
|
| 10541 |
3868 |
category |
0 |
17604 |
M |
0 |
|
|
|
|
|
| 10542 |
3869 |
category |
0 |
17605 |
M |
0 |
|
|
|
|
|