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 = 'fr' 
WHERE 
  cscart_images_links.object_type = 'product' 
  AND cscart_images_links.type = 'M' 
  AND cscart_images_links.object_id IN (
    430, 9470, 10705, 750, 10195, 426, 10670, 
    9457, 10157, 9938, 8862, 8860, 3322, 
    11485, 10960, 9845, 9853, 717, 9843, 
    10065, 10707, 478, 3325, 428, 3321, 
    10101, 10172, 8878, 514, 10070, 8295, 
    3315, 7353, 4939, 480, 3318, 10067, 
    9851, 3320, 9842, 10104, 10063, 407, 
    8861, 405, 10201, 3319, 9849
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00279

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 48 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
1066 407 product 0 1043 M 0 arz_solar_1.jpg 1000 1000 1043
1087 426 product 0 1064 M 0 sky-01-clean.jpg 1527 1600 1064
1089 428 product 0 1066 M 0 vivo_00.png 790 783 1066
1091 430 product 0 1068 M 0 optilight_galeria.jpg 1500 1500 1068
1269 478 product 0 1227 M 0 atr_mua_000.jpg 835 895 1227
1271 480 product 0 1229 M 0 vlx_ssl_000.jpg 768 576 1229
1303 405 product 0 1869 M 0 arz-h1352580181509ebc556b624.jpg 600 508 1869
1915 717 product 0 1860 M 0 markiz.jpg 1000 1000 1860
1939 750 product 0 1884 M 0 optilight_tlp.jpg 600 519 1884
5358 3315 product 0 3183 M 0 velux-bdx.jpg 1083 883 3183
7136 4939 product 0 3381 M 0 fakro_arf.jpg 848 564 3381
9553 7353 product 0 6431 M 0 fakro_amz_04143585196355955cbb8455e.jpg 600 401 6431
11881 8878 product 0 8396 M 0 119096-011-XXL.jpg 1024 768 8396
12441 8861 product 0 8344 M 0 118586-01-L.jpg 1280 960 8344
12472 8860 product 0 8378 M 0 118585-01-L.jpg 1280 960 8378
12475 8862 product 0 8381 M 0 velux_gll.jpg 1024 768 8381
12797 9470 product 0 8710 M 0 opti_vk01.jpg 5120 3413 8710
13539 9842 product 0 9126 M 0 velux_DFD.png 301 305 9126
13543 9843 product 0 9130 M 0 velux_DKL.png 301 305 9130
13598 9853 product 0 9185 M 0 velux-mhl.jpg 894 677 9185
13616 9845 product 0 9203 M 0 velux_dkl_nlns-1c.png 301 305 9203
13617 9849 product 0 9204 M 0 vlx_sss_000.jpg 1151 767 9204
25436 9938 product 0 21023 M 0 optilight_mxt.jpg 1000 833 21023
25993 10070 product 0 21568 M 0 skymarkiz.jpg 1920 1920 21568
26129 10065 product 0 21704 M 0 kux_eua.JPG 560 412 21704
26135 10067 product 0 21710 M 0 integra_klf_200_000.png 664 534 21710
26138 10101 product 0 21713 M 0 integra_kmx_100_00a_f5jh-8c.jpg 544 445 21713
26146 10104 product 0 21721 M 0 APF_02.jpg 1300 867 21721
27500 10172 product 0 23075 M 0 1_clear.jpg 3000 3000 23075
27639 10195 product 0 23214 M 0 tlp-energie-vent.jpg 500 500 23214
27673 10201 product 0 23248 M 0 PTP-V-packshot-01_1_50.jpg 1000 1000 23248
27984 514 product 0 23559 M 0 opl_vbw_aub.jpg 400 600 23559
28029 10063 product 0 23604 M 0 integra_kli_310_001_f4eh-48.png 220 220 23604
28328 9457 product 0 23903 M 0 okno__OKNA_drewniane_dachowe_połaciowe_TRIO_pine_78x118_78x140_roofLITE__z_66x118_do_gruba_SZARY.jpg Fenêtre de toit RoofLITE+ TRIO PINE 800 800 23903
28566 3318 product 0 24141 M 0 atr_mua_002.jpg 567 570 24141
28573 3319 product 0 24148 M 0 atr_mua_001_j9k4-es.jpg 720 960 24148
28579 3320 product 0 24154 M 0 atr_mua_000_bo7v-mg.jpg 570 568 24154
28900 3321 product 0 24475 M 0 atr_dua_4208_naked.jpg Store occultant pour fenêtre de toit VELUX 1000 1000 24475
28939 3322 product 0 24514 M 0 atr_dua_4208_naked_yyvv-t7.jpg Store blanc pour fenêtre de toit VELUX 1000 1000 24514
30517 3325 product 0 26094 M 0 atr_dua_4208_naked.jpg Store blanc pour fenêtre de toit 1000 1000 26094
30787 9851 product 0 26365 M 0 144841-01-s_icons_760x920.jpg 380 460 26365
30929 8295 product 0 26507 M 0 inscet_screen_for_roof_windows_.jpg 1200 1600 26507
31791 10670 product 0 27369 M 0 07-skyfens-supro-triple-termo_nwt6-r1.png Kunststoff Dachfenster Skylight Supro 1500 1800 27369
31833 10705 product 0 27411 M 0 OptiLight_D_Pro_005__www__0qm1-uw.jpg 2048 1803 27411
31868 10707 product 0 27446 M 0 001_gm4d-2a.jpg 1067 1600 27446
32479 10157 product 0 28057 M 0 Skyfens-SkylightPlus-Termo-011.png 2000 2000 28057
32665 11485 product 0 28243 M 0 FTP-V-U41-GreenView-7016-obrobione-scaled.jpg 2560 1966 28243
32679 10960 product 0 28257 M 0 PTP-V_U41_GreenView_7016_obrobione.png 4557 3500 28257