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 (64734, 61698, 61081, 61699) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00109

JSON explain

{
  "query_block": {
    "select_id": 1,
    "read_sorted_file": {
      "filesort": {
        "sort_key": "cscart_images_links.position, cscart_images_links.pair_id",
        "table": {
          "table_name": "cscart_images_links",
          "access_type": "range",
          "possible_keys": ["object_id"],
          "key": "object_id",
          "key_length": "81",
          "used_key_parts": ["object_id", "object_type", "type"],
          "rows": 57,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (64734,61698,61081,61699)"
        }
      }
    },
    "table": {
      "table_name": "cscart_images",
      "access_type": "eq_ref",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "3",
      "used_key_parts": ["image_id"],
      "ref": ["cscart_migrate.cscart_images_links.detailed_id"],
      "rows": 1,
      "filtered": 100,
      "attached_condition": "trigcond(cscart_images_links.detailed_id = cscart_images.image_id)"
    },
    "table": {
      "table_name": "cscart_common_descriptions",
      "access_type": "eq_ref",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "107",
      "used_key_parts": ["object_id", "lang_code", "object_holder"],
      "ref": ["cscart_migrate.cscart_images.image_id", "const", "const"],
      "rows": 1,
      "filtered": 100,
      "attached_condition": "trigcond(cscart_common_descriptions.object_id = cscart_images.image_id and cscart_common_descriptions.object_holder = 'images' and cscart_common_descriptions.lang_code = 'en' and trigcond(cscart_images.image_id is not null))"
    }
  }
}

Result

pair_id object_id object_type image_id detailed_id type position image_type show_gallery gallery_category_id image_path alt image_x image_y images_image_id
17306 61698 product 0 28892 A 0 D 0 0 Chateau-Gooseneck-200-white-G1_kujp-b0.jpg Tuscany Gooseneck Arm, 200-White, G1 Straight Arm 1000 1000 28892
37461 64734 product 0 49694 A 0 D 0 0 Aero-gooseneck-12in-997-raw-brass-G15.jpg 12" Aero, 997-Natural Raw Brass, G15 Gooseneck Arm 1000 1000 49694
64037 61081 product 0 76270 A 0 D 0 0 Canal-SoHo-Sconce-705-Navy.jpg Canal SoHo Sconce, 705-Navy 1000 1000 76270
64672 61699 product 0 76905 A 0 D 0 0 Chateau-Gooseneck-500-buttery-yellow-980-brushed-aluminum-G15.jpg Chateau Gooseneck Light, 500-Buttery Yellow, G15 Gooseneck Arm, 980-Brushed Aluminum 1000 1000 76905
65945 64734 product 0 78178 A 0 C 0 0 IMG_1903-residential-exterior-lighting-Aero-Gooseneck-12in-705-Navy-G17arm-Dusk-to-Dawn-Photocell.jpg 12" Aero, 705-Navy, G17 Arm | Photo Courtesy of Homeowner 2900 3405 78178
17305 61698 product 0 28891 A 1 D 0 0 Chateau-Gooseneck-100-black-G13_g55t-jq.jpg Tuscany Gooseneck Light, 100-Black, G13 Gooseneck Arm 1000 1000 28891
37465 64734 product 0 49698 A 1 D 0 0 Aero-gooseneck-16in-307-emerald-G13-WC-975-galvanized.jpg 16" Aero, 307-Emerald Green, Wire Cage, 975-Galvanized, G13 Gooseneck Arm 1000 1000 49698
64038 61081 product 0 76271 A 1 D 0 0 Canal-SoHo-Sconce-975-galvanized-380-chartreuse.jpg Canal SoHo Sconce, 975-Galvanized, Mounting in 380-Chartreuse 1000 1000 76271
67482 61699 product 0 79715 A 1 C 0 0 MasterBath_FullShot-residential-interior-lighting-bathroom-vanity-Chateau-Gooseneck-100-Black-G26arm.jpg Chateau Gooseneck, 100-Black, G26 Arm | Photo Courtesy of Southbound Stays 6016 4016 79715
36934 61081 product 0 49167 A 2 D 0 0 Canal-SoHo-Sconce-307-Emerald-Green.jpg Canal SoHo Sconce, 307-Emerald Green 1000 1000 49167
37467 64734 product 0 49700 A 2 D 0 0 Aero-gooseneck-16in-490-magenta-100-black-G8.jpg 16" Aero, 490-Magenta, G8 Gooseneck Arm, 100-Black 1000 1000 49700
64677 61698 product 0 76910 A 2 D 0 0 Chateau-Gooseneck-715-delphite-G26.jpg Tuscany Gooseneck Arm, 715-Delphite Blue, G26 Gooseneck Arm 1000 1000 76910
67481 61699 product 0 79714 A 2 C 0 0 128-residential-interior-lighting-bathroom-vanity-Chateau-Gooseneck-100-Black-G26arm.jpg Chateau Gooseneck, 100-Black, G26 Arm | Photo Courtesy of Southbound Stays 6016 4016 79714
18257 61081 product 0 29892 A 3 D 0 0 Canal-SoHo-Sconce-100-black.jpg Canal SoHo Sconce, 100-Black 1000 1000 29892
37469 64734 product 0 49702 A 3 D 0 0 Aero-gooseneck-14in-975-galvanized-G19.jpg 14" Aero, 975-Galvanized, G19 Gooseneck Arm 1000 1000 49702
55542 61699 product 0 67775 A 3 C 0 0 chateau-gooseneck-light-residential-interior.JPG Chateau Gooseneck Light, 105-Textured Black, G11 Gooseneck Arm | Photo Courtesy of Homeowner 1099 1222 67775
64674 61698 product 0 76907 A 3 D 0 0 Chateau-Gooseneck-400-barn-red-G22_25m8-ku.jpg Tuscany Gooseneck Light, 400-Barn Red, G22 Gooseneck Arm 1000 1000 76907
36932 61081 product 0 49165 A 4 D 0 0 Canal-SoHo-Sconce-400-Barn-Red.jpg Canal SoHo Sconce, 400-Barn Red 1000 1000 49165
37463 64734 product 0 49696 A 4 D 0 0 Aero-gooseneck-14in-200-white-100-black-G35.jpg 14" Aero, 200-White, G35 Gooseneck Arm, 100-Black 1000 1000 49696
64676 61698 product 0 76909 A 4 D 0 0 Chateau-Gooseneck-500-buttery-yellow-980-brushed-aluminum-G15_59j7-lr.jpg Tuscany Gooseneck Light, 500-Buttery Yellow, G15 Gooseneck Arm, 980-Brushed Aluminum 1000 1000 76909
65288 61699 product 0 77521 A 4 C 0 0 IMG_2705-commercial-exterior-lighting-door-entryway-Chateau_Gooseneck-500-Buttery-Yellow-G16arm-975-Galvanized.jpg Chateau Gooseneck Light, 500-Buttery Yellow, G16 Arm, 975-Galvaized | Photo Courtesy of Homeowner 2885 3664 77521
17267 61699 product 0 28846 A 5 D 0 0 Chateau-Gooseneck-100-black-G13.jpg Chateau Gooseneck Light, 100-Black, G13 Gooseneck Arm 1000 1000 28846
37475 64734 product 0 49708 A 5 D 0 0 Aero-gooseneck-12in-390-teal-980-brushed-aluminum-G11.jpg 12" Aero, 390-Teal, G11 Gooseneck Arm, 980-Brushed Aluminum 1000 1000 49708
64039 61081 product 0 76272 A 5 D 0 0 Canal-SoHo-Sconce-975-galvanized.jpg Canal SoHo Sconce, 975-Galvanized 1000 1000 76272
64675 61698 product 0 76908 A 5 D 0 0 Chateau-Gooseneck-480-blush-pink-G4_i94y-uw.jpg Tuscany Gooseneck Light, 480-Blush Pink, G4 Straight Arm 1000 1000 76908
36933 61081 product 0 49166 A 6 D 0 0 Canal-SoHo-Sconce-700-royal-blue.jpg Canal SoHo Sconce, 700-Royal Blue 1000 1000 49166
37464 64734 product 0 49697 A 6 D 0 0 Aero-gooseneck-16in-300-dark-green-G1.jpg 16" Aero, 300-Dark Green, G1 Straight Arm 1000 1000 49697
64516 61698 product 0 76749 A 6 C 0 0 Interior-Residential-Tuscany-100-black-G16-2V.jpg Tuscany Gooseneck Light, 100-Black, G16 Arm | Photo Courtesy of Homeowner 1500 1000 76749
64669 61699 product 0 76902 A 6 D 0 0 Chateau-Gooseneck-307-emerald-G35.jpg Chateau Gooseneck Light, 307-Emerald Green, G35 Gooseneck Arm 1000 1000 76902
37462 64734 product 0 49695 A 7 C 0 0 coco-and-kelly-astro-gooseneck-delphite.jpg 12" Aero, 715-Delphite, G11 Gooseneck Arms | Featured on Coco + Kelley blog, photo courtesy of Belathée 900 600 49695
64517 61698 product 0 76750 A 7 C 0 0 Interior-Residential-Tuscany-100-black-G16-2.jpg Tuscany Gooseneck Light, 100-Black, G16 Arm | Photo Courtesy of Homeowner 1500 2250 76750
64671 61699 product 0 76904 A 7 D 0 0 Chateau-Gooseneck-480-blush-pink-G4.jpg Chateau Gooseneck Light, 480-Blush Pink, G4 Straight Arm 1000 1000 76904
65388 61081 product 0 77621 A 7 C 0 0 Vernon_Family_Farm_5-commercial-exterior-farm-kitchen-restaurant-lighting-Canal-SoHo-Sconce-570-Sunflower.jpg Canal Street Soho Sconce, 570-Sunflower | Photo Courtesy of Whitewave Photography 6048 4024 77621
37474 64734 product 0 49707 A 8 C 0 0 14-in-astro-copper-g15.jpg 14" Aero, 995-Natural Raw Copper, G15 Gooseneck Arm, 980-Brushed Aluminum 500 700 49707
57360 61081 product 0 69593 A 8 C 0 0 Canal_SoHo_Wall_Sconce_Light_-_975_Galvanized_Barn_Light_Electric_-_Modern_Exterior_Front_Porch_Lighting.jpg Canal Street Soho Sconce, 975-Galvanized | Photo Courtesy of Jennifer Hoey Interior Design 1500 2000 69593
64518 61698 product 0 76751 A 8 C 0 0 Interior-Residential-Tuscany-100-black-G16.jpg Tuscany Gooseneck Light, 100-Black, G16 Arm | Photo Courtesy of Homeowner 1500 1000 76751
64673 61699 product 0 76906 A 8 D 0 0 Chateau-Gooseneck-975-galvanized-G11.jpg Chateau Gooseneck Light, 975-Galvanized, G11 Gooseneck Arm 1000 1000 76906
17268 61699 product 0 28847 A 9 D 0 0 Chateau-Gooseneck-200-white-G1.jpg Chateau Gooseneck Light, 200-White, G1 Straight Arm 1000 1000 28847
44523 64734 product 0 56756 A 9 C 0 0 american_made_gooseneck_lighting-537x768.jpg 16” Aero, 420-Orange, G22 Gooseneck Arm | Photos Courtesy of Alison Kandler Interior Design and Mark Lohman Photography 537 768 56756
55543 61081 product 0 67776 A 9 C 0 0 Canal-soho-sconce-shelves.JPG Canal Street Soho Sconce, 975-Galvanized | Photo Courtesy of Homeowner 1009 1281 67776
56406 61081 product 0 68639 A 10 C 0 0 Canal_SoHo_Sconce_-_Barn_Light_Electric_-_Colorful_Front_Porch_Lighting.png Canal Street Soho Sconce, 490-Magenta | Photo Courtesy of Lucy Jones & Marketing and Design With Color 386 538 68639
64670 61699 product 0 76903 A 10 D 0 0 Chateau-Gooseneck-400-barn-red-G22.jpg Chateau Gooseneck Light, 400-Barn Red, G22 Gooseneck Arm 1000 1000 76903
53432 64734 product 0 65665 A 11 C 0 0 Screen_Shot_2020-03-05_at_9.44.11_AM.png 16” Aero, 100-Black, G26 Gooseneck Arm | Photos Courtesy of Remi Stoneman 599 598 65665
57358 61081 product 0 69591 A 11 C 0 0 Canal_SoHo_Wall_Sconce_Light_-_975_Galvanized_Barn_Light_Electric_-_Modern_Exterior_Lighting.jpg Canal Street Soho Sconce, 975-Galvanized | Photo Courtesy of Jennifer Hoey Interior Design 1500 2000 69591
65289 61699 product 0 77522 A 11 C 0 0 IMG_2704-commercial-exterior-lighting-door-entryway-Chateau_Gooseneck-500-Buttery-Yellow-G16arm-975-Galvanized.jpg Chateau Gooseneck Light, 500-Buttery Yellow, G16 Arm, 975-Galvaized | Photo Courtesy of Homeowner 3024 4032 77522
55544 61081 product 0 67777 A 12 C 0 0 canal-soho-sconce-shelves2.JPG Canal Street Soho Sconce, 975-Galvanized | Photo Courtesy of Homeowner 1400 1868 67777
57031 64734 product 0 69264 A 12 C 0 0 Aero_Gooseneck_Light_-_150_Black_Barn_Light_Electric_-_Chain_Supported_Gooseneck_Exterior_Black_Lighting.jpg 16” Aero, M103-Marine Grade Black, G65 Gooseneck Arm | Photos Courtesy of Homeowner 1500 1576 69264
65389 61081 product 0 77622 A 12 C 0 0 Vernon_Family_Farm_4-commercial-exterior-farm-kitchen-restaurant-lighting-Canal-SoHo-Sconce-570-Sunflower.jpg Canal Street Soho Sconce, 570-Sunflower | Photo Courtesy of Whitewave Photography 5683 3781 77622
67483 61699 product 0 79716 A 12 C 0 0 int_66-residential-interior-lighting-bathroom-vanity-Chateau-Gooseneck-100-Black-G26arm.jpg Chateau Gooseneck, 100-Black, G26 Arm | Photo Courtesy of Southbound Stays 6016 4016 79716
48331 64734 product 0 60564 A 13 C 0 0 aero-gooseneck-light-975-galvanized.jpg 12” Aero, 975-Galvanized, G1 Straight Gooseneck Arm | Photos Courtesy of Aaron Webster 1500 2250 60564
57009 61081 product 0 69242 A 13 C 0 0 canal_soho_sconce_420-orange.jpeg Canal Street Soho Sconce, 420-Orange | Photo Courtesy of Customer 640 640 69242
49931 64734 product 0 62164 A 14 C 0 0 astro_gooseneck_16in_420_orange_G22arm.jpg 16” Aero, 420-Orange, G22 Gooseneck Arm | Photos Courtesy of Alison Kandler Interior Design and Mark Lohman Photography 1500 2112 62164
58975 64734 product 0 71208 A 15 C 0 0 Aero_Gooseneck_Light_-_250_Porcelain_White_Barn_Light_Electric_-_Modern_Office_Home_Lighting.jpg 14” Aero, 200-White, G12 Gooseneck Arm in 805-Charcoal Granite, Decorative Backing Plate Cover | Photos Courtesy of Homeowner 1500 1125 71208
62179 64734 product 0 74412 A 16 C 0 0 baba-commercial-exterior-aero-gooseneck-705-navy-G8-alt.jpg 12" Aero, 705-Navy, G8 Gooseneck Arm, Decorative Backing Plate Cover 1500 2250 74412
65312 64734 product 0 77545 A 16 C 0 0 IMG_2193-residential-exterior-lighting-Aero-Gooseneck-12in-705-Navy-G17arm.jpg 12" Aero, 705-Navy, G17 Arm | Photo Courtesy of Homeowner 4032 3024 77545
66762 64734 product 0 78995 A 16 C 0 0 IQMRJH~7.jpg 16" Aero, 100-Black, G64 Arm, Heavy Cast Guard, Frosted Glass | Photo Courtesy of Quality Electric of Nepa 4032 3024 78995
66763 64734 product 0 78996 A 16 C 0 0 IMG_3823-residential-exterior-lighting-on-garage-Aero-Gooseneck-16in-100-Black-G64arm-Heavy-Duty-Cast-Guard-Frosted-Glass.jpeg 16" Aero, 100-Black, G64 Arm, Heavy Cast Guard, Frosted Glass | Photo Courtesy of Quality Electric of Nepa 4032 3024 78996