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 (64874, 65584, 64964, 61211) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00100

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": 39,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (64874,65584,64964,61211)"
        }
      }
    },
    "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
14753 61211 product 0 25700 A 0 D 0 0 Indy_Porcelain_Socket_Pendant_-_Barn_Light_Electric.png Indy Porcelain Socket Pendant, SBK-Standard Black Cord, 40W G30 Thread Edison Light Bulb (Not Included) 500 500 25700
14754 61211 product 0 25701 A 0 D 0 0 Indy_Porcelain_Pendant_-_Barn_Light_Electric.png Indy Porcelain Socket Pendant, TBK-Black Cotton Twist Cord, 40W G30 Thread Edison (Not Included) 500 500 25701
14755 61211 product 0 25702 A 0 D 0 0 Indy_Porcelain_Pendant_-_Barn_Light_Electric_cyo4-xy.png Indy Porcelain Socket Pendant, TBR-Brown Cotton Twist Cord, 40W G30 Thread Edison Light Bulb (Not Included) 500 500 25702
14756 61211 product 0 25703 A 0 D 0 0 Indy_Porcelain_Pendant_-_Barn_Light_Electric__1_.png Indy Porcelain Socket Pendant, CRZ-Red Chevron Cord, 40W G30 Thread Edison Light Bulb (Not Included) 500 500 25703
14757 61211 product 0 25704 A 0 D 0 0 Indy_Porcelain_Pendant_-_Barn_Light_Electric__2_.png Indy Porcelain Socket Pendant, TPT-Putty Cotton Twist Cord, 40W G30 Thread Edison Light Bulb (Not Included) 500 500 25704
14758 61211 product 0 25705 A 0 D 0 0 Indy_Porcelain_Pendant_-_Barn_Light_Electric__3_.png Indy Porcelain Socket Pendant, TRD-Red Cotton Twist Cord, 40W G30 Thread Edison Light Bulb (Not Included) 500 500 25705
14760 61211 product 0 25707 A 0 D 0 0 Indy_Porcelain_Pendant_-_Barn_Light_Electric__4_.png Indy Porcelain Socket Pendant, TRD-Red Cotton Twist Cord, 40W G30 Thread Edison Light Bulb (Not Included) 500 500 25707
47919 64874 product 0 60152 A 0 D 0 0 schoolhouse-globe-cord-opaque-stripe-PB10-delphite-CMG-cloth-cord-grey.jpg Round Schoolhouse Pendant, 715-Delphite Blue, Opaque Glass, Two Painted Band, 715-Delphite, CMG-Grey Cloth Cord 1000 1000 60152
47920 64874 product 0 60153 A 0 D 0 0 schoolhouse-globe-cord-clear-stripe-none-copper-weathered-cord-twist-TBB-brown-beige-bulb-G30.jpg Round Schoolhouse Pendant, 998-Natural Weathered Copper, Clear Glass, No Painted Band, TBB-Brown & Beige Twist Cord, Shown with G30 Bulb 1000 1000 60153
47921 64874 product 0 60154 A 0 D 0 0 schoolhouse-globe-cord-opaque-stripe-PB11-brass-raw-black-CSGW-cord-cloth-gold-white.jpg Round Schoolhouse Pendant, 997-Natural Raw Brass, Opaque Glass, Three Painted Band, 100-Black, CSGW-Gold & White Cloth Cord 1000 1000 60154
47922 64874 product 0 60155 A 0 D 0 0 schoolhouse-globe-cord-opaque-stripe-none-copper-oil-rubbed-CSGW-cord-cloth-black-gold.jpg Round Schoolhouse Pendant, 999-Natural Oil-Rubbed Copper, Opaque Glass, No Painted Band, CSBG-Black & Gold Cloth Cord, Decorative Hex Cover 1000 1000 60155
47924 64874 product 0 60157 A 0 D 0 0 schoolhouse-globe-cord-clear-stripe-PB10-galvanized-jadite-CSB-cord-cloth-black-bulb-round.jpg Round Schoolhouse Pendant, 975-Galvanized, Clear Glass, Two Painted Band, 311-Jadite, CSB-Black Cloth Cord, Shown with G40 Bulb 1000 1000 60157
47925 64874 product 0 60158 A 0 D 0 0 schoolhouse-globe-cord-clear-stripe-PB11-textured-black-CSBW-cord-cloth-black-white-bulb-chrome.jpg Round Schoolhouse Pendant, 100-Black, Triple Painted Band, CSBW-Black & White Cloth Cord, Shown with G40 Half-Chrome Bulb 1000 1000 60158
53519 64964 product 0 65752 A 0 D 0 0 Glass-Ball-Pendant-Cord-Hung-16inch-Black-Clear-Glass-Black-Cord-25W-G40-Bulb.jpg 16" Glass Ball Pendant, Clear Glass, 100-Black, SBK-Standard Black Cord, 25W G40 Bulb 1000 1000 65752
63718 64874 product 0 75951 A 0 D 0 0 schoolhouse-globe-cord-clear-stripe-PB12-white-magenta-SWH-cord-cloth-white-bulb-1890.jpg Round Schoolhouse Pendant, 200-White, Clear Glass, Four Painted Band, 490-Magenta, SWH-Standard White Cord 1000 1000 75951
64270 65584 product 0 76503 A 0 D 0 0 30in-Ellington-Studio-Cable-100-black-975-galvanized-CSBW_hvmc-s1.jpg Ellington 30" Pendant, 100-Black, Cup in 975-Galvanized, CSBW-Black & White Cloth Cord, Shown with 40W G40 Bulb 1000 1000 76503
20140 61211 product 0 31956 A 1 C 0 0 pindy-insetting-sushi-joint.jpg Indy Porcelain Socket Pendant, SBK-Standard Black Cord, Photo Courtesy of Kelp Sushi Joint in Tampa, FL 600 900 31956
53517 64964 product 0 65750 A 1 D 0 0 Glass-Ball-Pendant-Cord-Hung-8inch-Barn-Red-Clear-Glass-Blaclk-Cord-120V-40W-Bulb.jpg 8" Glass Ball Pendant, Clear Glass, 400-Barn Red, SBK-Standard Black Cord, 40W 1910 Edison Bulb 1000 1000 65750
64271 65584 product 0 76504 A 1 D 0 0 230in-Ellington-Studio-Cable-480-Blush-Pink-CSBP_2bx6-w6.jpg Ellington 30" Pendant, 480-Blush Pink, CSBP-Black & Pink Cloth Cord 1000 1000 76504
53518 64964 product 0 65751 A 2 D 0 0 Glass-Ball-Pendant-Cord-Hung-12inch-Delphite-Opaque-Glass-Blue-White-Cord.jpg 12" Glass Ball Pendant, Opaque Glass, 715-Delphite Blue, CSUW-Blue & White Cloth Cord 1000 1000 65751
64272 65584 product 0 76505 A 2 D 0 0 30in-Ellington-Studio-Cable-FULL-BUILD-200-white-997-raw-brass-CSGW_g8wf-1w_r8mb-gy.jpg Ellington 30" Pendant, 200-White, Cup in 997-Natural Raw Brass, CSGW-Gold & White Cloth Cord, Shown with Enno LED Tala Lamp 1000 1000 76505
53674 64964 product 0 65907 A 3 D 0 0 Glass-Ball-Pendant-Cord-Hung-12inch-Navy-Clear-Glass-Black-White-Cord-120V-40W-Bulb.jpg 12" Glass Ball Pendant, Clear Glass, 705-Navy, CSBW-Black & White Cloth Cord, 40W 1910 Era Edison Bulb 1000 1000 65907
64275 65584 product 0 76508 A 3 D 0 0 30in-Ellington-Studio-Cable-400-barn-red-CRZ_tt1r-1t.jpg Ellington 30" Pendant, 400-Barn Red, CRZ-Red Chevron Cord, Shown with Porcelain III LED Tala Lamp 1000 1000 76508
53520 64964 product 0 65753 A 4 D 0 0 Glass-Ball-Pendant-Cord-Hung-8inch-Galvanized-Opaque-Glass-Black-White-Cord.jpg 8" Glass Ball Pendant, Opaque Glass, 975-Galvanized, CSBW-Black & White Cloth Cord 1000 1000 65753
64274 65584 product 0 76507 A 4 D 0 0 30in-Ellington-Studio-Cable-200-white-995-raw-copper-CSW_fol0-pb.jpg Ellington 30" Pendant, 200-White, Cup in 995-Natural Raw Copper, CSW-White Cloth Cord, Shown with Nostalgic Edison-Style 1910 Era Bulb 1000 1000 76507
17205 61211 product 0 28762 A 5 C 0 0 indy_pendant_porcelain_socket_black_cord_brick_wall.jpg Indy Porcelain Socket Pendant, SBK-Standard Black Cord, 40W G30 Thread Edison Light Bulb (Not Included) 578 622 28762
63839 64964 product 0 76072 A 5 C 0 0 residential-interior-lighting-dining-table-Glass-Ball-Pendant-12in-Opaque-Glass-975-Galvanized-Standard-Black-Cord.jpg 12" Glass Ball Pendant, Opaque Glass, 975-Galvanized, SBK-Standard Black Cord | Photo Courtesy of Homeowner 1500 960 76072
64268 65584 product 0 76501 A 5 D 0 0 30in-Ellington-Studio-Cable-705-Navy-CSW.jpg Ellington 30" Pendant, 705-Navy, CSW-White Cloth Cord, Shown with Elva LED Tala Lamp 1000 1000 76501
63840 64964 product 0 76073 A 6 C 0 0 residential-interior-lighting-gameroom-basement-Glass-Ball-Pendant-12in-Opaque-Glass-975-Galvanized-Elliptical-Sign-Light-9in-105-Textured-Black-G11arm-975-Galvanized-Swivel-Knuckle.jpg 12" Glass Ball Pendant, Opaque Glass, 975-Galvanized, SBK-Standard Black Cord | Photo Courtesy of Homeowner 1500 1125 76073
64273 65584 product 0 76506 A 6 D 0 0 30in-Ellington-Studio-Cable-600-bronze-CSBB.jpg Ellington 30" Pendant, 600-Bronze, CSBB-Black & Brown Cloth Cord, Shown with Totem II LED Tala Lamp 1000 1000 76506
32877 61211 product 0 45110 A 7 C 0 0 barn-light-electric-trendland-05-600x435.jpg Indy Porcelain Socket Pendant, CSRW-Red & White Cloth Cord, 40W G30 Thread Edison Light Bulb (Not Included) | Photo Courtesy of Trendland 600 435 45110
53618 64964 product 0 65851 A 7 C 0 0 residential-interior-bathroom-vanity-glass-ball-cord-pendant-medium-clear-glass-galvanized.jpg 12" Glass Ball Pendant, Clear Glass, 975-Galvanized, SBK-Standard Black Cord 1200 1152 65851
64269 65584 product 0 76502 A 7 D 0 0 30in-Ellington-Studio-Cable-100-black-CSBW.jpg Ellington 30" Pendant, 100-Black, CSBG-Black & Gold Cloth Cord, Shown with Voronoi I LED Tala Lamp 1000 1000 76502
61233 64964 product 0 73466 A 8 C 0 0 Glass_Ball_Pendant_Light_-_997_Raw_Brass_Barn_Light_Electric_-_Kitchen_Lighting.jpg 12” Glass Ball Pendant, Opaque Glass, 997-Raw Brass Top & Canopy, SBK-Standard Black Cord | Photo Courtesy of Jesse Bray (@jessbrayy) 1500 2244 73466
68768 65584 product 0 81001 A 8 C 0 0 CP_02685-HDR.jpg 30" Ellington Pendant, 200-White, Standard White Cord | Photography Courtesy of Greg Smith, T.Y.I Construction Photography 4240 2832 81001
53619 64964 product 0 65852 A 9 C 0 0 commercial-restaurant-interior-bar-glass-ball-cord-pendant-large-opaque-black.jpg 16" Glass Ball Pendant, Opaque Glass, 100-Black, SBK-Standard Black Cord 1200 1600 65852
64296 65584 product 0 76529 A 9 C 0 0 dining-room-kitchen-30in-ellington-400-barn-red-csb-edison-bulb-megan-mccrea-alt.jpg Ellington 30" Pendant, 400-Barn Red, CSB-Black Cloth Cord 1500 1002 76529
61232 64964 product 0 73465 A 10 C 0 0 Glass_Ball_Pendant_Light_-_Raw_Brass_Barn_Light_Electric_-_Kitchen_Island_Lighting.jpg 12” Glass Ball Pendant, Opaque Glass, 997-Raw Brass Top & Canopy, SBK-Standard Black Cord | Photo Courtesy of Jesse Bray (@jessbrayy) 1500 2399 73465
64297 65584 product 0 76530 A 10 C 0 0 ellington-30in-700-royal-blue-csgw-edison-bulb-alt.jpg Ellington 30" Pendant, 700-Royal Blue, CSGW-Gold & White Cloth Cord 1500 900 76530