SELECT 
  cscart_images_links.*, 
  cscart_images.image_path, 
  cscart_common_descriptions.description AS alt, 
  cscart_images.image_x, 
  cscart_images.image_y, 
  cscart_images.image_id as images_image_id 
FROM 
  cscart_images_links 
  LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id 
  LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id 
  AND cscart_common_descriptions.object_holder = 'images' 
  AND cscart_common_descriptions.lang_code = 'en' 
WHERE 
  cscart_images_links.object_type = 'product' 
  AND cscart_images_links.type = 'A' 
  AND cscart_images_links.object_id IN (
    3322, 11485, 10960, 9845, 9853, 717, 
    9843, 10065, 10707, 478, 3325, 428
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00244

Explain
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE cscart_images_links range object_id object_id 81 38 Using index condition; Using filesort
1 SIMPLE cscart_images eq_ref PRIMARY PRIMARY 3 mahm3t_cs443.cscart_images_links.detailed_id 1 Using where
1 SIMPLE cscart_common_descriptions eq_ref PRIMARY PRIMARY 107 mahm3t_cs443.cscart_images.image_id,const,const 1 Using where

Result

pair_id object_id object_type image_id detailed_id type position emo_md5 image_path alt image_x image_y images_image_id
1120 428 product 0 1097 A 0 vivo_01.jpg 640 480 1097
3737 428 product 0 3041 A 0 vivo_02.jpg 1024 768 3041
13544 9843 product 0 9131 A 0 velux_DKL_001.jpg 733 350 9131
13545 9843 product 0 9132 A 0 velux_DKL_002.jpg 733 350 9132
13546 9843 product 0 9133 A 0 velux_DKL_003.jpg 733 350 9133
13547 9843 product 0 9134 A 0 velux_DKL_004.jpg 733 350 9134
13548 9843 product 0 9135 A 0 velux_DKL_005.jpg 733 350 9135
26323 428 product 0 21898 A 0 vivo_03.jpg Stepless positioning of the blind for roof window 1024 768 21898
29738 428 product 0 25315 A 0 vivo-05-1024x768.jpg 1024 768 25315
29739 428 product 0 25316 A 0 vivo-06-1024x768.jpg 1024 768 25316
29740 428 product 0 25317 A 0 vivo-07-1024x768.jpg 1024 768 25317
29741 428 product 0 25318 A 0 vivo-08-1024x768.jpg 1024 768 25318
30214 9845 product 0 25791 A 0 odv_dsl_unboxing.JPG 633 783 25791
30475 9843 product 0 26052 A 0 valux_white_silver_rails_iix7-b0.PNG aluminium and white rails / alminium und weiß Führungsschiene 683 387 26052
30476 9845 product 0 26053 A 0 operation_icon_solar_450x227.jpg 300 151 26053
30477 9845 product 0 26054 A 0 129922-05-xxl_1280x850.jpg 1280 850 26054
30478 9845 product 0 26055 A 0 121495-03-xxl_1280x850.jpg 1280 850 26055
30487 9845 product 0 26064 A 0 valux_white_silver_rails_eeb9-pg.PNG 683 387 26064
30524 3325 product 0 26101 A 0 ATR_DUA_4208_all.jpg Blackout blind for roof window, white, perfect for bedroom 1200 1600 26101
30525 3325 product 0 26102 A 0 atr_dua_4212_naked_vuue-01.jpg Dark blue blind for roof window 1000 1000 26102
30550 3322 product 0 26127 A 0 atr_dua_4208_full_m1ng-7f.jpg Blackout blind for FAKRO roof window, white, perfect for bedroom 1200 1600 26127
30551 3322 product 0 26128 A 0 atr_dua_4212_naked_jwnj-zh.jpg Dark blue blind for FAKRO roof window 1000 1000 26128
30552 3322 product 0 26129 A 0 atr_dua_4212_full.jpg Blackout blind for FAKRO roof window, darkblue, perfect for bedroom 1200 1600 26129
30557 3322 product 0 26134 A 0 atr_dua_4219_naked_xl2m-a7.jpg Beige blind for FAKRO roof window 1000 1000 26134
30558 3322 product 0 26135 A 0 atr_dua_4219_full_bto8-rc.jpg Blackout blind for FAKRO roof window, beige, perfect for bedroom 1200 1600 26135
30559 3322 product 0 26136 A 0 atr_dua_4217_naked_8lst-4z.jpg Graphite blind for FAKRO roof window 1000 1000 26136
30560 3322 product 0 26137 A 0 atr_dua_4217_full.jpg Blackout blind for FAKRO roof window, graphite, perfect for bedroom 1200 1600 26137
31188 717 product 0 26766 A 0 markiza_am_004.jpg 600 401 26766
31189 717 product 0 26767 A 0 markiza_am_001.jpg 510 469 26767
31190 717 product 0 26768 A 0 Optilight-z-markiza-00-768x542.jpg 768 542 26768
31191 717 product 0 26769 A 0 markiza_am_003.jpg 690 800 26769
31192 717 product 0 26770 A 0 markiza_am_002-768x512.jpg 768 512 26770
31193 717 product 0 26771 A 0 markiza_material_089.jpg 800 600 26771
31200 10065 product 0 26778 A 0 velux-kux-110-eu-2.jpg 2074 1555 26778
31212 717 product 0 26790 A 0 markiza-do-okien-dachowych-fakro-i-optilight-7.jpg 1382 778 26790
31213 717 product 0 26791 A 0 markiza-do-okien-dachowych-fakro-i-optilight-6.jpg 1382 778 26791
31214 717 product 0 26792 A 0 markiza-do-okien-dachowych-fakro-i-optilight-4.jpg 1382 778 26792
31215 717 product 0 26793 A 0 markiza-do-okien-dachowych-fakro-i-optilight-3.jpg 1382 778 26793
31216 717 product 0 26794 A 0 markiza-do-okien-dachowych-fakro-i-optilight-1_i93g-f8.jpg 1382 778 26794
31321 3325 product 0 26899 A 0 ATR_DUA_4212_all.jpg Blackout blind for roof window, white, perfect for bedroom 1200 1600 26899
31322 3325 product 0 26900 A 0 atr_dua_4217_naked.jpg Graphite blind for roof window 1000 1000 26900
31323 3325 product 0 26901 A 0 ATR_DUA_4217_all.jpg Blackout blind for roof window, white, perfect for bedroom 1200 1600 26901
31324 3325 product 0 26902 A 0 atr_dua_4219_naked.jpg Beige blind for roof window 1000 1000 26902
31325 3325 product 0 26903 A 0 ATR_DUA_4219_all.jpg Blackout blind for roof window, white, perfect for bedroom 1200 1600 26903
31386 428 product 0 26964 A 0 vivo_04_1.jpg 640 480 26964
31387 428 product 0 26965 A 0 roleta-do-okien-dachowych-skylight.jpg 1024 768 26965
31624 9853 product 0 27202 A 0 velux-mhl-a1.jpg 970 300 27202
31882 10707 product 0 27460 A 0 002_m7gm-x1.jpg 1600 1067 27460
32482 3322 product 0 28060 A 0 atr_dua_4204_naked.jpg Light gray blind for FAKRO roof window 1000 1000 28060
32483 3322 product 0 28061 A 0 atr_dua_4204_full.jpg Blackout blind for FAKRO roof window, light gray, perfect for bedroom 3000 4000 28061
32486 3325 product 0 28064 A 0 atr_dua_4204_naked_6jai-c2.jpg Light grey blind for roof window 1000 1000 28064
32487 3325 product 0 28065 A 0 atr_dua_4204_full_zug3-mw.jpg Blackout blind for roof window, light grey, perfect for bedroom 1200 1600 28065
32666 11485 product 0 28244 A 0 FTP-V-U41-GreenView-cross-section-01-strzalka-2-www-scaled.jpg 2560 1705 28244
32667 11485 product 0 28245 A 0 FTP-_-GreenView-06-www-e1741951134867__1_.jpg 2048 1265 28245
32668 11485 product 0 28246 A 0 FTP-_-GreenView-detail-07-www.jpg 2048 1365 28246
32669 11485 product 0 28247 A 0 FTP-_-GreenView-detail-13-www-e1741951042516__1_.jpg 2048 1265 28247
32670 11485 product 0 28248 A 0 FTP-V-U41-GreenView-detail-15-www.jpg 2048 1265 28248
32678 10960 product 0 28256 A 0 PTP-V_P50_GreenView_packshot_02.jpg 3024 2160 28256
32701 478 product 0 28279 A 0 marise-velux.png 1143 757 28279
28562 478 product 0 24137 A 1 atr_mua_002_f3js-o9_wava-ax.jpg 567 570 24137
31201 10065 product 0 26779 A 1 velux-kux-110-eu-5.jpg 2074 1555 26779
31625 9853 product 0 27203 A 1 velux-mhl-a2.jpg 970 300 27203
31883 10707 product 0 27461 A 1 003_g8eg-0p.jpg 1600 1067 27461
32672 10960 product 0 28250 A 1 PTP-V_GreenView_packshot_2023_02__www_.jpg 4774 3183 28250
26130 10065 product 0 21705 A 2 velux_kux_01.png 763 905 21705
28230 9853 product 0 23805 A 2 vlx_mhl_001.jpg 511 767 23805
28563 478 product 0 24138 A 2 MIR-for-Wenta.-anti-heat_1200px.jpg 900 1200 24138
31884 10707 product 0 27462 A 2 004_8rv4-fc.jpg Stepless positioning of the blind for roof window 1600 1067 27462
32673 10960 product 0 28251 A 2 PTP-V_GreenView_U41_cross-section_01_strzałka__print_.jpg 2700 2160 28251
28231 9853 product 0 23806 A 3 vlx_mhl_002.jpg 445 768 23806
28564 478 product 0 24139 A 3 Kids_MIR-preview_l3jb-iw.jpg 2000 1500 24139
31909 10707 product 0 27487 A 3 005.jpg 1067 1600 27487
32674 10960 product 0 28252 A 3 PTP-V_GreenView_03__www___1_.jpg 2048 1365 28252
28227 9853 product 0 23802 A 4 vlx_mhl_0p2.jpg 354 354 23802
28565 478 product 0 24140 A 4 Kids_MIR-preview_maal-n7.jpg 2000 1500 24140
31910 10707 product 0 27488 A 4 006.jpg 1600 1067 27488
32675 10960 product 0 28253 A 4 PTP-V_GreenView_cross-section_01__www_.jpg 3070 4605 28253
28226 9853 product 0 23801 A 5 vlx_mhl_0p1_uj29-oa.jpg 640 640 23801
31337 478 product 0 26915 A 5 atr_mua_003.jpg 922 691 26915
31911 10707 product 0 27489 A 5 007.jpg 1600 1067 27489
32676 10960 product 0 28254 A 5 PTP-V_GreenView_cross-section_02__www_.jpg 3648 5472 28254
28238 9853 product 0 23813 A 6 vlx_mhl_003_ao7d-b4.jpg 768 576 23813
31338 478 product 0 26916 A 6 atr_mua_004.jpg.jpg 933 700 26916
31912 10707 product 0 27490 A 6 008.jpg 1600 1067 27490
32677 10960 product 0 28255 A 6 PTP-V_P50_GREENVIEW_03__www_.jpg 2048 1536 28255
28240 9853 product 0 23815 A 7 vlx_mhl_005.jpg 733 350 23815
31906 10707 product 0 27484 A 7 MGR-SXL-051-biały.jpeg 682 483 27484
28239 9853 product 0 23814 A 8 vlx_mhl_004.jpg 768 576 23814
31907 10707 product 0 27485 A 8 MGR-SXL-054_-_grafit.jpeg 682 483 27485
28242 9853 product 0 23817 A 9 vlx_mhl_007.jpg 733 350 23817
31905 10707 product 0 27483 A 9 MEL-05-II-_beż2.jpeg 682 480 27483
28241 9853 product 0 23816 A 10 vlx_mhl_006.jpg 733 350 23816
31908 10707 product 0 27486 A 10 MGR-SXL-065_-_granat.jpeg 320 227 27486
31626 9853 product 0 27204 A 11 velux-mhl-a3.jpg 970 300 27204