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 = 'A' 
  AND cscart_images_links.object_id IN (
    9935, 9943, 9939, 9947, 9945, 9936, 9940, 
    9937, 9944, 9946, 9957, 9941
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00163

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 21 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
25441 9935 product 0 21028 A 0 LWK-Plus4packshot-05_1_3.jpg 1000 1000 21028
25443 9941 product 0 21030 A 0 LWZ-Plus-packshot-01_1_9.jpg 1000 1000 21030
25445 9940 product 0 21032 A 0 fakro_lwl_00.png 566 876 21032
25447 9939 product 0 21034 A 0 LTK-Energy-packshot-02_1_13.jpg 1000 1000 21034
25449 9936 product 0 21036 A 0 fakro_lwt_00.png 542 874 21036
25469 9940 product 0 21044 A 0 fakro_lwl_001.png 779 866 21044
25472 9937 product 0 21047 A 0 LWF60-SL-packshot-03_1_28.jpg 1000 1000 21047
25481 9943 product 0 21056 A 0 fakro_lms_00.png 529 793 21056
25482 9943 product 0 21057 A 0 fakro_lms_001.png 708 873 21057
25484 9944 product 0 21059 A 0 LMK-packshot-03_1_15.jpg 1000 1000 21059
25485 9944 product 0 21060 A 0 fakro_lmk_001.png 755 862 21060
25487 9945 product 0 21062 A 0 LML-packshot-03_1_13.jpg 1000 1000 21062
25490 9946 product 0 21065 A 0 LMF-60-308cm-packshot-02_1_13.jpg 1000 1000 21065
25503 9947 product 0 21078 A 0 fakro_lst_00.png 514 793 21078
25504 9947 product 0 21079 A 0 fakro_lst_001a.png 571 867 21079
27320 9957 product 0 22895 A 0 lwl.png 112 101 22895
31600 9944 product 0 27178 A 0 LMK-packshot-04_1_2.jpg 1000 1000 27178
31601 9944 product 0 27179 A 0 LMK-packshot-01_1_2.jpg 1000 1000 27179
31602 9944 product 0 27180 A 0 LMK-detail-02_1_2.jpg 1000 1000 27180
31603 9944 product 0 27181 A 0 LMK-detail-01_1_2.jpg 1000 1000 27181
31604 9944 product 0 27182 A 0 LMK-01_1_2.jpg 1000 1000 27182
25453 9941 product 0 21040 A 1 fakro_lwz_001.png 800 847 21040
25541 9957 product 0 21116 A 1 lwl_00.png 111 99 21116
31581 9945 product 0 27159 A 1 LML-detail-02_1_2.jpg 1000 1000 27159
31584 9936 product 0 27162 A 1 LWT-packshot-03_1_22.jpg 1000 1000 27162
31587 9946 product 0 27165 A 1 LMF-60-308cm-packshot-01_1_2.jpg 1000 1000 27165
31588 9939 product 0 27166 A 1 LTK-Energy-packshot-01_1_2.jpg 1000 1000 27166
31590 9937 product 0 27168 A 1 LWF60-packshot-02_1_2.jpg 1000 1000 27168
31606 9935 product 0 27184 A 1 LWK-Plus-4-packshot-04_1_3.jpg 1000 1000 27184
25451 9935 product 0 21038 A 2 fakro_lwk_001.png 774 847 21038
25491 9946 product 0 21066 A 2 fakro_lmf_001.png 691 868 21066
31580 9945 product 0 27158 A 2 LML-detail-01_1_2.jpg 1000 1000 27158
31585 9936 product 0 27163 A 2 LWT-USA-05_1_2.jpg 1000 1000 27163
31589 9939 product 0 27167 A 2 LTK-Energy-02_1_2.jpg 1000 1000 27167
31591 9937 product 0 27169 A 2 LWF60-packshot-01_1_2.jpg 1000 1000 27169
31597 9941 product 0 27175 A 2 LWZ-Plus-detail-01_1_2.jpg 1000 1000 27175
25452 9936 product 0 21039 A 3 fakro_lwt_001.png 786 847 21039
25470 9939 product 0 21045 A 3 fakro_ltk_001.png 827 826 21045
31582 9945 product 0 27160 A 3 LML-packshot-01_1_2.jpg 1000 1000 27160
31592 9937 product 0 27170 A 3 LWF60-SL-detail-04_1_2.jpg 1000 1000 27170
31598 9941 product 0 27176 A 3 LWZ-Plus-detail-02_1_2.jpg 1000 1000 27176
31607 9935 product 0 27185 A 3 LWK-Plus-03_1_3.jpg 1000 1000 27185
31583 9945 product 0 27161 A 4 LMP-01_1_2.jpg 1000 1000 27161
31586 9936 product 0 27164 A 4 LWT-packshot-02_1_2.jpg 1000 1000 27164
31593 9937 product 0 27171 A 4 LWF60-SL-detail-06_1_2.jpg 1000 1000 27171
31599 9941 product 0 27177 A 4 LWZ-Plus-detail-05_1_2.jpg 1000 1000 27177
25488 9945 product 0 21063 A 5 fakro_lml_001.png 777 857 21063
31594 9937 product 0 27172 A 5 LWF60-SL-detail-07_1_2.jpg 1000 1000 27172
25473 9937 product 0 21048 A 6 fakro_lwf_001.png 903 840 21048