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 (64772, 62039, 65672, 65698) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00126

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": 47,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (64772,62039,65672,65698)"
        }
      }
    },
    "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
19349 62039 product 0 31071 A 0 D 0 0 Fire-Chief-Dual-Arm-14in-150-black.jpg Dual Arm Fire Chief Sign Light, 14" Shades, 100-Black 1000 1000 31071
66389 65672 product 0 78622 A 0 D 0 0 fire-chief-stem-12in-490-meganta-CGG-RIB-100-black.jpg 12" Fire Chief, 490-Magnenta, CGG-Standard Cast Guard, 100-Black, CLR-Clear Glass, Mounting in 100-Black 1000 1000 78622
67047 65698 product 0 79280 A 0 D 0 0 fire-chief-basic-100-black-G11.jpg 10" Fire Chief, 100-Black, G11 Gooseneck Arm 1000 1000 79280
67048 65698 product 0 79281 A 0 D 0 0 fire-chief-basic-200-white-G1.jpg 10" Fire Chief, 200-White, G1 Straight Arm 1000 1000 79281
67049 65698 product 0 79282 A 0 D 0 0 fire-chief-basic-605-rust-G22.jpg 10" Fire Chief, 605-Rust, G22 Gooseneck Arm 1000 1000 79282
19352 62039 product 0 31074 A 1 D 0 0 fire-chief-10in-Dual-Arm-380-chartreuse.jpg Dual Arm Fire Chief Sign Light, 10" Shades, 380-Chartreuse, Swivel Knuckles 1000 1000 31074
38929 64772 product 0 51162 A 1 D 0 0 Fire-Chief-gooseneck-14in-307-emerald-green-G35.jpg 14" Fire Chief, 307-Emerald Green, G35 Gooseneck Arm 1000 1000 51162
19348 62039 product 0 31070 A 2 D 0 0 Fire-Chief-Dual-Arm-12in-200-white.jpg Dual Arm Fire Chief Sign Light, 12" Shades, 200-White 1000 1000 31070
66392 65672 product 0 78625 A 2 D 0 0 fire-chief-stem-307-emerald-green-WC.jpg 14" Fire Chief, 307-Emerald Green, Wire Cage, 975-Galvanized 1000 1000 78625
19350 62039 product 0 31072 A 3 D 0 0 Fire-Chief-Dual-Arm-10in-490-magenta.jpg Dual Arm Fire Chief Sign Light, 10" Shades, 490-Magenta, Mounting in 100-Black 1000 1000 31072
38902 64772 product 0 51135 A 3 D 0 0 fire-chief-gooseneck-12in-400-barn-red-G22.jpg 12" Fire Chief, 400-Barn Red, G22 Gooseneck Arm 1000 1000 51135
19353 62039 product 0 31075 A 4 D 0 0 Fire-Chief-Dual-Arm-14in-350-vintage-green.jpg Dual Arm Fire Chief Sign Light, 14" Shades, 307-Emerald Green 1000 1000 31075
38906 64772 product 0 51139 A 4 D 0 0 fire-Chief-gooseneck-14in-975-galvanized-G13.jpg 14" Fire Chief, 975-Galvanized, G13 Gooseneck Arm 1000 1000 51139
66388 65672 product 0 78621 A 4 D 0 0 fire-chief-stem-12in-100-black.jpg 12" Fire Chief, 100-Black 1000 1000 78621
38909 64772 product 0 51142 A 5 D 0 0 Fire-Chief-gooseneck-14in-300-dark-green-G24-975-galvanized-WC.jpg 14" Fire Chief, 300-Dark Green, Wire Cage, 975-Galvanized, G24 Gooseneck Arm 1000 1000 51142
66008 62039 product 0 78241 A 5 D 0 0 Dual-Arm-Sign-Light-fire-chief-100-black-front.jpg Dual Arm Fire Chief Sign Light, 10" Shades, 100-Black 1000 1000 78241
66391 65672 product 0 78624 A 5 D 0 0 fire-chief-stem-14in-705-navy-980-brushed-aluminum.jpg 14" Fire Chief, 705-Navy, Mounting in 980-Brushed Aluminum 1000 1000 78624
38927 64772 product 0 51160 A 6 D 0 0 fire-chief-gooseneck-12in-490-magenta-980-brushed-aluminum-G14-CGG-FST.jpg 12" Fire Chief, 490-Magenta, CGG-Standard Cast Guard, 975-Galvanized, FST-Frosted Glass, G14 Straight Arm, 980-Brushed Aluminum 1000 1000 51160
66004 62039 product 0 78237 A 6 D 0 0 Fire-Chief-Dual-Arm-12in-975-galvanized.jpg Dual Arm Fire Chief Sign Light, 12" Shades, 975-Galvanized 1000 1000 78237
66393 65672 product 0 78626 A 6 D 0 0 fire-chief-stem-400-barn-red.jpg 14" Fire Chief, 400-Barn Red 1000 1000 78626
38928 64772 product 0 51161 A 7 D 0 0 fire-chief-gooseneck-12in-705-navy-G11.jpg 12" Fire Chief, 705-Navy, G11 Gooseneck Arm 1000 1000 51161
66006 62039 product 0 78239 A 7 D 0 0 Fire-Chief-Dual-Arm-14in-450-cherry.jpg Dual Arm Fire Chief Sign Light, 14" Shades, 400-Barn Red 1000 1000 78239
66390 65672 product 0 78623 A 7 D 0 0 fire-chief-stem-14in-300-dark-green.jpg 14" Fire Chief, 300-Dark Green 1000 1000 78623
68119 65672 product 0 80352 A 7 C 0 0 firechief-stem-600-bronze.jpg 14" Fire Chief, 600-Bronze 1224 1224 80352
38931 64772 product 0 51164 A 8 C 0 0 coco-and-kelly-firechiefs-black-150.jpg 12" Fire Chief, 100-Black, G7 Gooseneck Arm | Featured on Coco + Kelley blog, photo courtesy of Belathée 600 850 51164
66009 62039 product 0 78242 A 8 D 0 0 Dual-Arm-Sign-Light-fire-chief-200-white-front.jpg Dual Arm Fire Chief Sign Light, 12" Shades, 200-White 1000 1000 78242
56135 64772 product 0 68368 A 9 C 0 0 angle_shade_lights_wall_lights-908x1024-681x768_-_Barn_Light_Electric_-_Wall_Sign_Lighting_a8rf-w5.jpg Fire Chief Sign Lights, 12” Shades in 100-Black, G12 Gooseneck Arm | Photo Courtesy of Carla Abusada and Bona S.A. 681 768 68368
66007 62039 product 0 78240 A 9 D 0 0 Fire-Chief-Dual-Arm-14in-750-cobalt-blue.jpg Dual Arm Fire Chief Sign Light, 14" Shades, 710-Cobalt Blue PTMP 1000 1000 78240
54156 64772 product 0 66389 A 10 C 0 0 desk-commercial-interior-restaurant-sign-light-fire-chief-gooseneck-G7-white-porcelain.jpg 10” Fire Chief, 200-White, G7 Gooseneck Arms | Photo Courtesy of Erin Edwards of PSG Construction and Gusto 1136 756 66389
66010 62039 product 0 78243 A 10 D 0 0 Dual-Arm-Sign-Light-fire-chief-galvanized-front.jpg Dual Arm Fire Chief Sign Light, 12" Shades, 975-Galvanized 1000 1000 78243
38913 64772 product 0 51146 A 11 C 0 0 frontier_angle_shae_14in_blk_G22arm_black_HDBP4.jpg 14” Fire Chief, 100-Black, G22 Gooseneck Arm, Heavy Duty Backing Plate | Photo Courtesy of Eric and Patrick of Bespoke Home 7 Life in Collingswood, New Jersey 1000 727 51146
66005 62039 product 0 78238 A 11 D 0 0 fire-chief-Dual-Arm-10in-390-teal-swivel.jpg Dual Arm Fire Chief Sign Light, 10" Shades, 390-Teal, Swivel Knuckles 1000 1000 78238
38904 64772 product 0 51137 A 12 C 0 0 yellow_angle_shade_insetting.jpg 10" Fire Chief Angle Shade, 500-Buttery Yellow, G26 Gooseneck Arm | Photo Courtesy of Kim Lewis with "Bar Rescue." 801 550 51137
62891 62039 product 0 75124 A 12 C 0 0 DSCF1846-Commercial-Interior-Restaurant-BBQ-DUAL-ARM-FIRE-CHIEF-SIGN-LIGHT-10in-975-galvanized.jpg 10" Dual Arm Fire Chief Sign Light, 975-Galvanized, Swivel Knuckle 1500 1000 75124
38910 64772 product 0 51143 A 13 C 0 0 frontier_angle_shade_10in_textured_black_g5arm.jpg 10" Fire Chief, 105-Textured Black, G5 Gooseneck Arm | Photo Courtesy of RE/MAX Eastern Realty, Inc. 699 1078 51143
65613 62039 product 0 77846 A 13 C 0 0 residential-interior-lighting-sink-man-cave-Dual-Arm-Fire-Chief-Sign-Light-10in-106-Matte-Black-12in-arm-Swivel-Knuckle.jpg 10" Dual Arm Fire Chief, 106-Matte Black, 12" Arm, Swivel Knuckle | Customer Submission 1500 1157 77846
19386 62039 product 0 31116 A 14 C 0 0 dual-arm-insetting.jpg 10" Dual Arm Fire Chief Sign Light, 100-Black | Photo Courtesy of Customer 600 900 31116
38903 64772 product 0 51136 A 14 C 0 0 firechief_angle_shade_100_black_g26_nickelfish.jpg 10" Fire Chief Angle Shade, 100-Black, G26 Gooseneck Arm | Photo Courtesy of Customer 900 700 51136
65614 62039 product 0 77847 A 15 C 0 0 residential-interior-lighting-sink-man-cave-on-Dual-Arm-Fire-Chief-Sign-Light-10in-106-Matte-Black-12in-arm-Swivel-Knuckle.jpg 10" Dual Arm Fire Chief, 106-Matte Black, 12" Arm, Swivel Knuckle | Customer Submission 1500 1822 77847
38932 64772 product 0 51165 A 16 C 0 0 fire_chief_porcelain_sign_light-512x768.jpg 8" Fire Chief, 311-Jadite | Photo Courtesy of Kim Lewis Design & TLC's Bakery Boss 512 768 51165
53511 64772 product 0 65744 A 17 C 0 0 fire_chief_porcelain_sign_light_10in_150_black_G64arm_galvanized_swivel_knuckle2.jpg 10” Fire Chief, 100-Black, G64 Gooseneck Arms | Photo Courtesy of Elle Designs and Stacy Wolf Photography 1500 927 65744
54159 64772 product 0 66392 A 18 C 0 0 Gusto_066-commercial-interior-restaurant-sign-light-fire-chief-gooseneck-G7-250-white-porcelain-high-res.jpg 10” Fire Chief, 250-White, G7 Gooseneck Arms | Photo Courtesy of Erin Edwards of PSG Construction and Gusto 1500 891 66392
38905 64772 product 0 51138 A 19 C 0 0 decatur_kitchen_4.jpg 8" Fire Chief Angle Shades, 200-White, G8 Gooseneck Arm, 100-Black | Photo Courtesy of Jennifer Lee Kessler - jenniferkesslerphotography.com 900 1280 51138
38911 64772 product 0 51144 A 20 C 0 0 angle_shade_sign_lighting__2_.jpg 8” Fire Chief, 200-White | Photo Courtesy of Customer 1500 1000 51144
66823 64772 product 0 79056 A 22 C 0 0 tree-residential-exterior-lighting-A-frame-Fire-Chief-Sign-Light-14in-997-Raw-Brass-G24arm-Wire-Guard-106-Matte-Black-Clear-Glass-Dusk-to-Dawn-Photocell.jpg 14" Fire Chief, 997-Raw Brass, G24 Arm, Wire Guard, 106-Matte Black, Clear Glass, Dusk to Dawn Photocell | Photo Courtesy of Brittany Hislop 1500 1998 79056
66824 64772 product 0 79057 A 23 C 0 0 Barnlight-residential-exterior-lighting-A-frame-Fire-Chief-Sign-Light-14in-997-Raw-Brass-G24arm-Wire-Guard-106-Matte-Black-Clear-Glass-Dusk-to-Dawn-Photocell.jpg 14" Fire Chief, 997-Raw Brass, G24 Arm, Wire Guard, 106-Matte Black, Clear Glass, Dusk to Dawn Photocell | Photo Courtesy of Brittany Hislop 1500 1998 79057
67110 64772 product 0 79343 A 24 C 0 0 residential-interior-lighting-Fire-Chief-Sign-Light-8in-570-Sunflower-G11arm-980-Brushed-Aluminum.jpg 8" Fire Chief Sign Light, 570-Sunflower, G11 Arm, 980- Brushed Aluminum | Customer Submission 1500 1215 79343