Query time 0.00121
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "28.81"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "12.00"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_images_links",
"access_type": "range",
"possible_keys": [
"object_id"
],
"key": "object_id",
"used_key_parts": [
"object_id",
"object_type",
"type"
],
"key_length": "81",
"rows_examined_per_scan": 12,
"rows_produced_per_join": 12,
"filtered": "100.00",
"index_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_images_links`.`object_type` = 'product') and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_images_links`.`type` = 'M') and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_images_links`.`object_id` in (10140,10142,10144,10141,10224,10223,10222,10228,10229,10230,10233,10234)))",
"cost_info": {
"read_cost": "7.21",
"eval_cost": "1.20",
"prefix_cost": "8.41",
"data_read_per_join": "1K"
},
"used_columns": [
"pair_id",
"object_id",
"object_type",
"image_id",
"detailed_id",
"type",
"position"
]
}
},
{
"table": {
"table_name": "cscart_images",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"image_id"
],
"key_length": "4",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 12,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.00",
"eval_cost": "1.20",
"prefix_cost": "12.61",
"data_read_per_join": "9K"
},
"used_columns": [
"image_id",
"image_path",
"image_x",
"image_y",
"is_high_res",
"transparent",
"cp_in_opt_list"
]
}
},
{
"table": {
"table_name": "cscart_common_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"lang_code",
"object_holder"
],
"key_length": "108",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 12,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.00",
"eval_cost": "1.20",
"prefix_cost": "16.81",
"data_read_per_join": "7K"
},
"used_columns": [
"object_id",
"description",
"lang_code",
"object_holder"
]
}
}
]
}
}
}
Result
| image_id |
image_path |
image_x |
image_y |
is_high_res |
transparent |
cp_in_opt_list |
pair_id |
object_id |
object_type |
detailed_id |
type |
position |
alt |
images_image_id |
| 0 |
Delivard_Product_Images_-_2025-12-24T160107.983.jpg |
600 |
600 |
N |
N |
N |
40595 |
10140 |
product |
31357 |
M |
0 |
|
31357 |
| 0 |
Delivard_Product_Images_-_2025-12-24T160107.983.jpg |
600 |
600 |
N |
N |
N |
40602 |
10141 |
product |
31357 |
M |
0 |
|
31357 |
| 0 |
Delivard_Product_Images_-_2025-12-24T160203.691.jpg |
600 |
600 |
N |
N |
N |
40608 |
10142 |
product |
31358 |
M |
0 |
|
31358 |
| 0 |
Untitled_Image__19__n1br-eo.jpg |
900 |
900 |
N |
N |
N |
40804 |
10222 |
product |
31506 |
M |
0 |
|
31506 |
| 0 |
Untitled_Image__24__tel5-m2.jpg |
900 |
900 |
N |
N |
N |
40821 |
10228 |
product |
31517 |
M |
0 |
|
31517 |
| 0 |
Delivard_Product_Images_-_2025-12-24T160242.356.jpg |
600 |
600 |
N |
N |
N |
40600 |
10144 |
product |
31356 |
M |
1 |
|
31356 |
| 0 |
Untitled_Image__28__shvn-xi.jpg |
900 |
900 |
N |
N |
N |
40842 |
10233 |
product |
31532 |
M |
1 |
|
31532 |
| 0 |
Untitled_Image__29__6m8x-ue.jpg |
900 |
900 |
N |
N |
N |
40849 |
10234 |
product |
31536 |
M |
1 |
|
31536 |
| 0 |
Untitled_Image__21__wqot-5w.jpg |
900 |
900 |
N |
N |
N |
40810 |
10224 |
product |
31508 |
M |
3 |
|
31508 |
| 0 |
Untitled_Image__22__21n8-bp.jpg |
900 |
900 |
N |
N |
N |
40812 |
10223 |
product |
31510 |
M |
3 |
|
31510 |
| 0 |
Untitled_Image__25__qzaf-6d.jpg |
900 |
900 |
N |
N |
N |
40832 |
10229 |
product |
31522 |
M |
4 |
|
31522 |
| 0 |
Untitled_Image__26__fpis-9q.jpg |
900 |
900 |
N |
N |
N |
40835 |
10230 |
product |
31525 |
M |
4 |
|
31525 |