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 (61337, 29986, 61336, 63034) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00094

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": 41,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (61337,29986,61336,63034)"
        }
      }
    },
    "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
16576 29986 product 0 28130 A 0 D 0 0 Gooseneck-Arm-Backing-Plate-Black.jpg Gooseneck Arm Wall Backing Plate, 100-Black 1000 1000 28130
32625 63034 product 0 44858 A 0 D 0 0 Swivel-Knuckle.jpg Swivel Knuckle, 975-Galvanized 1000 1000 44858
39029 29986 product 0 51262 A 0 C 0 0 Wall_Backing_Plate__Front_View_.png Gooseneck Arm Wall Backing Plate Dimensions (Front View) 3334 3334 51262
41732 29986 product 0 53965 A 0 D 0 0 Gooseneck-Arm-Backing-Plate-Delphite-Side.jpg Gooseneck Arm Wall Backing Plate, 715-Delphite Blue Paint-to-Match Porcelain 1000 1000 53965
41733 29986 product 0 53966 A 0 D 0 0 Gooseneck-Arm-Backing-Plate-Oil-Rubbed-Bronze.jpg Gooseneck Arm Wall Backing Plate, 615-Oil-Rubbed Bronze 1000 1000 53966
41734 29986 product 0 53967 A 0 D 0 0 Gooseneck-Arm-Backing-Plate-Teal.jpg Gooseneck Arm Wall Backing Plate, 390-Teal 1000 1000 53967
41735 29986 product 0 53968 A 0 D 0 0 Gooseneck-Arm-Backing-Plate-Delphite.jpg Gooseneck Arm Wall Backing Plate, 715-Delphite Blue Paint-to-Match Porcelain 1000 1000 53968
46467 61336 product 0 58700 A 0 D 0 0 Heavy_Duty_Wall_Backing_Plate_-_Front_View_-_Barn_Light_Electric_HDBP.jpg Heavy Duty Backing Plate Dimensions (Front View) 1000 1000 58700
65386 61337 product 0 77619 A 0 C 0 0 IMG_9490-residential-exterior-lighting-Original-Warehouse-Gooseneck-16in-765-Delphite-Blue-G22-980-Brushed-Aluminum-Decorative-Backing-Plate.jpg Decorative Backing Plate Cover (Displayed here: 16" The Original™ Warehouse Gooseneck Light, 765-Delphite Blue, G22 Arm, 980-Brushed Aluminum, Decorative Backing Plate) 2159 1766 77619
23835 63034 product 0 35766 A 1 D 0 0 swivel-knuckle-black.jpg Swivel Knuckel, 100-Black 600 600 35766
39030 29986 product 0 51263 A 1 C 0 0 Wall_Backing_Plate__Side_View_.png Gooseneck Arm Wall Backing Plate Dimensions (Side View) 3334 3334 51263
46468 61336 product 0 58701 A 1 D 0 0 Heavy_Duty_Wall_Backing_Plate_-_Side_View_-_Barn_Light_Electric_HDBP.jpg Heavy Duty Backing Plate Dimensions (Side View) 1000 1000 58701
63141 61337 product 0 75374 A 1 D 0 0 standard-decorative-backing-plate-715-delphite.jpg Decorative Backing Plate Cover, 715-Delphite 1000 1000 75374
15656 61336 product 0 27123 A 2 D 0 0 heavy_duty_backing_plate_galvanized.jpg Heavy Duty Backing Plate, 975-Galvanized 500 500 27123
23836 63034 product 0 35767 A 2 D 0 0 goodrich-fire-chief-850-graphite-swivel-knuckle-2.jpg 12" Goodrich Fire Chief, 850-Graphite, G2 Gooseneck Arm with Swivel Knuckle 600 600 35767
63139 61337 product 0 75372 A 2 D 0 0 standard-decorative-backing-plate-400-barn-red.jpg Decorative Backing Plate Cover, 400-Barn Red 1000 1000 75372
15727 61336 product 0 27206 A 3 D 0 0 heavy_duty_backing_plate_gooseneck.jpg Heavy Duty Backing Plate, 975-Galvanized with Gooseneck Arm 600 357 27206
23837 63034 product 0 35768 A 3 D 0 0 benjamin-sky-chief-jadeite-swivel-knuckle-2.jpg 14" Benjamin Sky Chief, 355-Jadite, Swivel Knuckle 600 600 35768
46716 61337 product 0 58949 A 3 D 0 0 standard-decorative-backing-plate-997-raw-brass.jpg Decorative Backing Plate Cover, 997-Natural Raw Brass 1000 1000 58949
56058 63034 product 0 68291 A 4 C 0 0 avalon-gooseneck-light-16in-500-buttery-yellow-g6-led-swivel-neck-commercial-exterior-on-high-res_ng3l-ja.jpg 16” Avalon, 500-Buttery Yellow, G6 Gooseneck Arm, Swivel Knuckle | Photo Courtesy of Apron Masters and Brian Berkowitz Photography 1500 2251 68291
62403 61336 product 0 74636 A 4 C 0 0 Bomber_Gooseneck_Light_11in_605-Rust_G15arm_HDBP__2_.jpg Heavy Duty Backing Plate (Displayed here: 11” Bomber, 605-Rust, G15 Gooseneck Arm, Heavy Duty Backing Plate | Photo Courtesy of Homeowner) 1715 1401 74636
63140 61337 product 0 75373 A 4 D 0 0 standard-decorative-backing-plate-615-oil-rubbed-bronze.jpg Decorative Backing Plate Cover, 615-Oil-Rubbed Bronze 1000 1000 75373
15694 61337 product 0 27169 A 5 D 0 0 Decorative-Backing-Plate-Cover.jpg Decorative Backing Plate Cover w/ Gooseneck 600 600 27169
56056 63034 product 0 68289 A 5 C 0 0 sign_lighting_-_Barn_Light_Electric_-_Swivel_Knuckle.JPG 8” Emblem Sign Lights, G11 Gooseneck Arm, Swivel Knuckle 1483 1347 68289
62404 61336 product 0 74637 A 5 C 0 0 Bomber_Gooseneck_Light_11in_605_Rust_G15arm_HDBP.jpg Heavy Duty Backing Plate (Displayed here: 11” Bomber, 605-Rust, G15 Gooseneck Arm, Heavy Duty Backing Plate | Photo Courtesy of Homeowner) 1500 1771 74637
46448 61337 product 0 58681 A 6 D 0 0 Decorative_Backing_Plate_Cover_-_Front_View_-_Barn_Light_Electric.png Decorative Backing Plate Cover Dimensions (Front View) 3334 3334 58681
56057 63034 product 0 68290 A 6 C 0 0 sign_lighting_commercial_lighting-1270x883.jpg 10” Fire Chief Sign Lights, G64 Gooseneck Arm, Swivel Knuckle | Photo Courtesy of Elle Designs 1270 883 68290
59191 61336 product 0 71424 A 6 C 0 0 The_Original™_Warehouse_Nautical_LED_Gooseneck_Light_-_Barn_Light_Electric_-_Modern_LED_Garage_Lighting.jpg Heavy Duty Backing Plate (Displayed here: 16” The Original™ Nautical LED, 355-Porcelain Jadite, G22 Gooseneck Arm in 350-Vintage Green, TGG-Heavy Duty Cast Guard in 150-Black, CLR-Clear Glass, Heavy Duty Backing Plate, 3500K - Bright White Color Temp | Photo Courtesy of Homeowner) 1500 1125 71424
46449 61337 product 0 58682 A 7 D 0 0 Decorative_Backing_Plate_Cover_-_Side_View_-_Barn_Light_Electric.png Decorative Backing Plate Cover Dimensions (Side View) 3334 3334 58682
63803 61336 product 0 76036 A 7 C 0 0 residential-exterior-lighting-porch-Newport-Gooseneck-Light-705-Navy-G22arm-Heavy-Duty-Backing-Plate.jpg Heavy Duty Backing Plate (Displayed here: Newport Gooseneck Light, 705 Navy, G22 Gooseneck Arm, HDBP-Heavy Duty Backing Plate | Photo Courtesy of Homeowner) 1500 1750 76036
66069 61336 product 0 78302 A 7 C 0 0 IMG_9562-residential-exterior-lighting-Original-Dual-Arm-Sign-Light-14in-996-Weathered-Copper-12in-arm-106-Matte-Black-Heavy-Duty-Backing-Plate_5let-cz.jpg Heavy Duty Backing Plate (Displayed here: The Original™ Dual Arm Sign Light, 14" Shades, 996-Weathered Copper, 12" Arm, 106-Matte Black, Heavy Duty Backing Plate | Customer Submission) 3024 4032 78302
56302 61337 product 0 68535 A 8 D 0 0 original-12-inch-gooseneck-brass.jpg Decorative Backing Plate Cover (Displayed Here: 12" The Original™, 997-Raw Brass, G24 Gooseneck Arm, Decorative Backing Plate & Hex Cover) 600 600 68535
56303 61337 product 0 68536 A 9 C 0 0 Decorative_Backing_Plate_Cover_-_Union_Gooseneck_Light_-_Barn_Light_Electric_-_Farmhouse_Bathroom_Vanity.jpg Decorative Backing Plate Cover (Displayed Here: 10" Union, 995-Raw Copper, G22 Gooseneck Arm, 100-Black, Decorative Copper Backing Plate & Hex Cover | Photo Courtesy of Amy from My Life from Home) 512 768 68536
56304 61337 product 0 68537 A 10 C 0 0 Sinclair_Gooseneck_Light_-_Barn_Light_Electric_-_Modern_Farmhouse_Brass_Kitchen_Lighting.jpeg Decorative Backing Plate Cover (Displayed Here:10" Sinclair Gooseneck Light, 200-White Finish, G34 Gooseneck Arm in a 200-White Finish, Brass Backing Plate & Hex Cover | Photo Courtesy of Taylor Newton Photography) 2048 1365 68537
66331 61337 product 0 78564 A 11 C 0 0 IMG_2193-residential-exterior-lighting-barn-shed-Emblem-LED-Sign-Light-12in-250-White-G64arm-150-Black-Swivel-Knuckle-Decorative-BP-Hex-Cover_mz6v-ve.jpeg Decorative Backing Plate (Pictured here: Emblem LED Sign Light, 250-White, G64 Arm, 150-Black, Swivel Knuckle, Decorative Backing Plate, Hex Cover) Photo Courtesy of Mountain Field Farms 4032 3024 78564
56307 61337 product 0 68540 A 12 C 0 0 Primary_Schoolhouse_Gooseneck_Light_-_Decorative_Backing_Plate_Cover_-_Modern_Farmhouse_Vanity_Lighting.jpg Decorative Backing Plate Cover (Displayed Here: Primary Schoolhouse Gooseneck Light, 996-Weathered Brass, Clear Glass, No Painted Band, G11 Gooseneck Arm | Photo Courtesy of Christina’s Adventures) 3233 2155 68540
56305 61337 product 0 68538 A 13 C 0 0 Chestnut_Gooseneck_Light_-_Decorative_Backing_Plate_-_Barn_Light_Electric_-_Farmhouse_Front_Porch_Lighting.jpg Decorative Backing Plate Cover (Displayed Here: 12” Chestnut, 995-Raw Copper, G15 Gooseneck Arm, Decorative Backing Plate Cover | Photo Courtesy of Natalie Jensen @nataliedarlingblog) 3465 5045 68538
56308 61337 product 0 68541 A 14 C 0 0 Primary_Schoolhouse_Gooseneck_Light_-_Barn_Light_Electric_-_Decorative_Backing_Plate_Cover_-_Farmhouse_Bathroom_Vanity_Lighting.jpg Decorative Backing Plate Cover (Displayed Here: Primary Schoolhouse Gooseneck Light, 998-Natural Weathered Brass, Small Clear Glass, No Painted Band, G11 Gooseneck Arm, Brass Backing Plate & Hex Cover | Photo Courtesy of Celebrity Style Guide) 2938 3671 68541
56309 61337 product 0 68542 A 15 C 0 0 Decorative_Backing_Plate_Cover_-_Barn_Light_Electric_-_Primary_Schoolhouse_Gooseneck_Light_-_Farmhouse_Modern_Bathroom_Vanity.jpg Decorative Backing Plate Cover (Displayed Here: Primary Schoolhouse Gooseneck Light, 999-Oil-Rubbed Copper, Small Clear Glass, No Painted Band, G15 Gooseneck Arm) 1536 1495 68542
59587 61337 product 0 71820 A 16 C 0 0 Bomber_Gooseneck_Light_-_Barn_Light_Electric_-_Raw_Copper_Exterior_Lighting_civp-m2.jpg Decorative Backing Plate Cover (Displayed here: 11” Bomber, 995-Raw Copper, G15 Gooseneck Arm in 995-Raw Copper, Copper Backing Plate & Hex Cover (Also Pictured: Sydney Flush Mount Pendant) | Photo Courtesy of Rayna Vogel Interior Design) 1242 1207 71820
62180 61337 product 0 74413 A 17 C 0 0 baba-commercial-exterior--aero-gooseneck-705-navy-G8-alt_d0gr-x1.jpg Decorative Backing Plate Cover (Displayed here: 12" Aero, 705-Navy, G8 Gooseneck Arm) 2000 3000 74413