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 (
    8368, 8730, 9817, 8732, 8731, 8291, 8734, 
    8728, 8729, 10430, 9484, 8284
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00170

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 20 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
12913 8291 product 0 8826 A 0 stegu_santorini_002.png 300 218 8826
26836 9817 product 0 22411 A 0 cairo_p_1yzn-dv.png 959 370 22411
26837 9817 product 0 22412 A 0 cairo_n_yggk-hs.png 1169 361 22412
26838 9817 product 0 22413 A 0 cairo2-1.jpg 1920 1080 22413
26850 8284 product 0 22425 A 0 venezia_p_erd1-7h.png 961 370 22425
26979 8728 product 0 22554 A 0 country_p.png 973 345 22554
26980 8728 product 0 22555 A 0 country_n.png 1161 349 22555
26981 8729 product 0 22556 A 0 country_p_pvsp-9k.png 973 345 22556
26982 8729 product 0 22557 A 0 country_n_1620-ci.png 1161 349 22557
26983 8730 product 0 22558 A 0 country_p_pp3i-q1.png 973 345 22558
26984 8730 product 0 22559 A 0 country_n_4kh0-aa.png 1161 349 22559
26985 8731 product 0 22560 A 0 country_p_hfed-t4.png 973 345 22560
26986 8731 product 0 22561 A 0 country_n_2jri-ru.png 1161 349 22561
26996 8728 product 0 22571 A 0 country610_01_a35o-hc.jpg 1920 1080 22571
26997 8729 product 0 22572 A 0 country618_01.jpg 1920 1080 22572
26998 8729 product 0 22573 A 0 country618_02.jpg 1920 1080 22573
26999 8729 product 0 22574 A 0 country618_03.jpg 1920 1080 22574
27000 8729 product 0 22575 A 0 country618_04.jpg 1920 1080 22575
27005 8730 product 0 22580 A 0 country640-4.jpg 1920 1080 22580
27006 8730 product 0 22581 A 0 country640_02.jpg 1920 1080 22581
27007 8730 product 0 22582 A 0 country640_03.jpg 1920 1080 22582
27008 8730 product 0 22583 A 0 country640_04.jpg 1920 1080 22583
27013 8731 product 0 22588 A 0 country668_01.jpg 1920 1080 22588
27014 8731 product 0 22589 A 0 country668_02.png 840 589 22589
27015 8731 product 0 22590 A 0 country668_03.jpg 1920 1080 22590
27019 8732 product 0 22594 A 0 rustik_p.png 984 347 22594
27020 8732 product 0 22595 A 0 rustik_n.png 1243 344 22595
27023 8734 product 0 22598 A 0 rustik_p_p53d-r4.png 984 347 22598
27024 8734 product 0 22599 A 0 rustik_n_npoo-jt.png 1243 344 22599
27035 8732 product 0 22610 A 0 rustik526-3.jpg 1920 1080 22610
27036 8732 product 0 22611 A 0 rustik526_02.png 1398 739 22611
27037 8732 product 0 22612 A 0 rustik526_03.jpg 1920 1080 22612
27038 8732 product 0 22613 A 0 rustik526_04.jpg 1920 1080 22613
27047 8734 product 0 22622 A 0 rustik548_01.jpg 1920 1080 22622
27059 9484 product 0 22634 A 0 boston_p_y65u-y9.png 984 378 22634
27060 9484 product 0 22635 A 0 boston_n_ojcn-yb.png 1238 347 22635
29916 10430 product 0 25493 A 0 4.JPG 694 448 25493
31477 8728 product 0 27055 A 0 c610.jpg 401 402 27055
12912 8291 product 0 8825 A 1 santorini_1.jpg 1920 1080 8825
26851 8284 product 0 22426 A 1 venezia_n_0o0z-xe.png 1208 535 22426
29912 10430 product 0 25489 A 1 1.JPG 645 329 25489
29913 10430 product 0 25490 A 2 MEXICANA_3_a.jpg 1920 1280 25490
30241 8291 product 0 25818 A 2 san1.JPG 739 674 25818
31475 8284 product 0 27053 A 2 venezia-latte-stegu-kamien-dekoracyjny.jpg 750 750 27053
29914 10430 product 0 25491 A 3 2.JPG 733 382 25491
31476 8284 product 0 27054 A 3 latte.jpg 750 750 27054
26853 8284 product 0 22428 A 4 venezia3_02.png 563 644 22428
29915 10430 product 0 25492 A 4 3.JPG 639 403 25492
26852 8284 product 0 22427 A 5 venezia3_01.png 1398 780 22427
29917 10430 product 0 25494 A 5 6.JPG 514 714 25494
29918 10430 product 0 25495 A 6 7.JPG 546 727 25495
29919 10430 product 0 25496 A 7 8.JPG 627 425 25496