Query time 0.00103
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 (5900,5899,5934,5935,4192,4193,4998,4995,2393,2394,3464,3467)))",
"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 |
3.jpg |
600 |
600 |
N |
N |
Y |
15095 |
2393 |
product |
11519 |
M |
0 |
|
11519 |
| 0 |
BHR8915GL_wr_05.jpg |
1000 |
1000 |
N |
N |
Y |
15097 |
2394 |
product |
11520 |
M |
0 |
|
11520 |
| 0 |
Delivard_Product_Images_-_2025-07-30T110802.835.jpg |
600 |
600 |
N |
N |
Y |
18595 |
3464 |
product |
14069 |
M |
0 |
|
14069 |
| 0 |
Untitled_design_-_2025-08-15T131945.288.jpg |
600 |
600 |
N |
N |
Y |
21514 |
4192 |
product |
16377 |
M |
0 |
|
16377 |
| 0 |
Untitled_design_-_2025-08-15T132028.755.jpg |
600 |
600 |
N |
N |
Y |
21522 |
4193 |
product |
16380 |
M |
0 |
|
16380 |
| 0 |
Delivard_Template_i374-0t.jpg |
900 |
900 |
N |
N |
Y |
24538 |
4995 |
product |
18423 |
M |
0 |
|
18423 |
| 0 |
30_-_2025-09-26T154231.343.jpg |
600 |
600 |
N |
N |
Y |
27255 |
5899 |
product |
20648 |
M |
0 |
|
20648 |
| 0 |
MXK63_AV1.jpeg |
1144 |
1144 |
N |
N |
Y |
27257 |
5900 |
product |
20649 |
M |
0 |
|
20649 |
| 0 |
30_-_2025-09-27T205758.854.jpg |
600 |
600 |
N |
N |
Y |
27429 |
5934 |
product |
20814 |
M |
0 |
|
20814 |
| 0 |
MXKA3.jpeg |
1144 |
1144 |
N |
N |
Y |
27431 |
5935 |
product |
20815 |
M |
0 |
|
20815 |
| 0 |
Delivard_Product_Images_-_2025-07-30T113519.763.jpg |
600 |
600 |
N |
N |
Y |
18601 |
3467 |
product |
14072 |
M |
3 |
|
14072 |
| 0 |
Delivard_Template_7d7d-4c.jpg |
900 |
900 |
N |
N |
Y |
24547 |
4998 |
product |
18428 |
M |
4 |
|
18428 |