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, 62859, 64907, 62986) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00101

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": 33,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (64874,62859,64907,62986)"
        }
      }
    },
    "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
23202 62859 product 0 35117 A 0 D 0 0 schoolhouse-primary-LED-cord-pendant-small-opaque-glass-997-raw-brass-hex-cover-SBK-standard-black-cord.jpg Primary LED Schoolhouse Pendant Light, 997-Natural Raw Brass, Small Opaque Glass, SBK-Standard Black Cord 1000 1000 35117
47830 64907 product 0 60063 A 0 D 0 0 schoolhouse-drum-cord-clear-stripe-PB8-copper-raw-TBR-cord-twist-brown-bulb-chrome.jpg Drum Schoolhouse Pendant, 995-Natural Raw Copper, Clear Glass, Four Painted Band, 100-Black, TBR-Brown Cotton Twist Cord, Shown with G40 Half-Chrome Bulb 1000 1000 60063
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
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
64101 62986 product 0 76334 A 0 D 0 0 Schoolhouse-Primary-Kao-Cord-Large-Opaque-705-NAVY-CSB-CLOTH-black-cord-one-stripe.jpg Kao Primary Schoolhouse Pendant Light, 705-Navy, Large Opaque Glass, Single Painted Band, CSB-Black Cloth Cord 1000 1000 76334
65919 64907 product 0 78152 A 0 C 0 0 IMG_9915-residential-interior-lighting-Drum-Schoolhouse-cord-Pendant-Opaque-105-Textured-Black-CSBB-Black-Brown-Chevron-PB8-Four-Painted-Bands-715-Delphite-Blue.JPG Drum Schoolhouse Pendant, Opaque Glass, 105-Textured Black, Black & Brown Chevron Cord, PB8-Four Painted Bands, 715-Delphite | Photo Courtesy of Mermaid Cottages, Tybee Island 3284 4926 78152
31666 62986 product 0 43899 A 1 D 0 0 Schoolhouse-Primary-Kao-Cord-Large-Clear-715-delphite-CSUW-blue-white-cord.jpg Kao Primary Schoolhouse Pendant Light, 715-Delphite, Large Clear Glass, Triple Painted Band, CSUW-Blue & White Cloth Cord 1000 1000 43899
47831 64907 product 0 60064 A 1 D 0 0 schoolhouse-drum-cord-opaque-stripe-none-emerald-green-CSBW-cord-cloth-black-white.jpg Drum Schoolhouse Pendant, 307-Emerald Green, Opaque Glass, No Stripe, CSBW-Black & White Cloth Cord 1000 1000 60064
63717 62859 product 0 75950 A 1 D 0 0 schoolhouse-primary-LED-cord-pendant-large-clear-glass-996-weathered-copper-hex-cover-705-navy-double-painted-band-rust-cloth-cord.jpg Primary LED Schoolhouse Pendant Light, 996-Natural Weathered Copper, Large Clear Glass, Double Painted Band, 705-Navy, Rust Cloth Cord 1000 1000 75950
31667 62986 product 0 43900 A 2 D 0 0 Schoolhouse-Primary-Kao-Cord-Large-Clear-615-oil-rubbed-bronze-CSBB-brown-black-cord.jpg Kao Primary Schoolhouse Pendant Light, 615-Oil Rubbed Bronze, Large Clear Glass, CSBB-Black & Brown Cloth Cord 1000 1000 43900
31727 62859 product 0 43960 A 2 D 0 0 schoolhouse-primary-LED-cord-pendant-small-clear-glass-200-white-triple-painted-band-CSW-white-cloth-cord.jpg Primary LED Schoolhouse Pendant Light, 200-White, Small Clear Glass, Triple Painted Band, Standard White Cord 1000 1000 43960
47832 64907 product 0 60065 A 2 D 0 0 schoolhouse-drum-cord-clear-stripe-PB7-navy-CSGW-cord-cloth-white-gold-cloth-bulb-G30.jpg Drum Pendant, 705-Navy, Clear Glass, Single Painted Band, 705-Navy, CSGW-Gold & White Cloth Cord, Shown with G30 Bulb 1000 1000 60065
23759 62986 product 0 35690 A 3 D 0 0 Kao-cord-canopy-black.jpg Kao Cord Canopy, 100-Black, CSBW-Black & White Cloth Cord 1000 1000 35690
31734 62859 product 0 43967 A 3 D 0 0 schoolhouse-primary-LED-cord-pendant-large-opaque-glass-975-galvanized-100-black-single-painted-band-CSB-black-cloth-cord.jpg Primary LED Schoolhouse Pendant Light, 975-Galvanized, Large Opaque Glass, Single Painted Band, 100-Black, Standard Black Cord 1000 1000 43967
47833 64907 product 0 60066 A 3 D 0 0 schoolhouse-drum-cord-clear-stripe-none-chartreuse-CSGB-cord-cloth-gold-black-bulb-round.jpg Drum Schoolhouse Pendant, 380-Chartreuse, Clear Glass, No Stripe, CSBG-Black & Gold Cloth Cord, Shown with G40 Bulb 1000 1000 60066
31726 62859 product 0 43959 A 4 D 0 0 schoolhouse-primary-LED-cord-pendant-small-clear-glass-999-oil-rubbed-copper-hex-cover-311-jadite-single-painted-band-SBK.jpg Primary LED Schoolhouse Pendant Light, 999-Natural Oil-Rubbed Copper, Small Clear Glass, Single Painted Band, 311-Jadite, Standard Black Cord 1000 1000 43959
47835 64907 product 0 60068 A 4 D 0 0 schoolhouse-drum-cord-opaque-stripe-PB9-copper-oil-rubbed-TPT-putty-cotton-twist-cord.jpg Drum Schoolhouse Pendant, 615-Oil-Rubbed Bronze, Opaque Glass, Seven Painted Band, 100-Black, TPT-Putty Cotton Twist Cord 1000 1000 60068
63724 62986 product 0 75957 A 4 D 0 0 Schoolhouse-Primary-Kao-Cord-Small-clear-311-jadite-SWH-white-standard-cord-single-stripe.jpg Kao Primary Schoolhouse Pendant Light, 311-Jadite, Small Clear Glass, Single Painted Band, SWH-Standard White Cord 1000 1000 75957
63723 62986 product 0 75956 A 5 D 0 0 Schoolhouse-Primary-Kao-Cord-Large-Opaque-995-raw-copper-CSB-CLOTH-black-cord-black-double-stripe.jpg Kao Primary Schoolhouse Pendant, 995-Natural Raw Copper, Large Opaque Glass, Double Painted Band, 100-Black, CSB-Black Cloth Cord 1000 1000 75956
63995 62859 product 0 76228 A 5 D 0 0 schoolhouse-primary-LED-cord-pendant-small-opaque-glass-100-black-double-painted-band-SBK.jpg Primary LED Schoolhouse, 100-Black, Small Opaque Glass, Double Painted Band, Standard Black Cord 1000 1000 76228
64122 64907 product 0 76355 A 5 C 0 0 MWKC85~9.JPG Drum Schoolhouse Pendant, Opaque Glass, 480-Blush Pink, Four Bands, 100-Black 2485 3360 76355
63725 62986 product 0 75958 A 6 D 0 0 Schoolhouse-Primary-Kao-Cord-Small-Opaque-400-red-TRD-twisted-red.jpg Kao Primary Schoolhouse Pendant Light, 400-Barn Red, Small Opaque Glass, TRW-Red Cotton Twist Cord 1000 1000 75958
63996 62859 product 0 76229 A 6 D 0 0 schoolhouse-primary-LED-cord-pendant-large-clear-glass-300-dark-green-fern-green-chevron-cord.jpg Primary LED Schoolhouse, 300-Dark Green, Large Clear Glass, Fern Green Chevron Cloth Cord 1000 1000 76229
64123 64907 product 0 76356 A 6 C 0 0 DTISAN~V.JPG Drum Schoolhouse Pendant, Opaque Glass, 105-Textured Black 3500 2434 76356
62043 64907 product 0 74276 A 7 C 0 0 Drum_Schoolhouse_Pendant_Opaque_995-RawCopperFitter_SBK_PB8_100-Black.jpeg Drum Schoolhouse Pendant, 995-Natural Raw Copper, Opaque Glass, Four Painted Band, 100-Black, SBK-Standard Black Cord | Courtesy of Chelsey Keeley 1500 1819 74276
62044 64907 product 0 74277 A 8 C 0 0 Drum_Schoolhouse_Pendant_Opaque_995-RawCopperFitter_SBK_PB8_100-Black2.jpeg Drum Schoolhouse Pendant, 995-Natural Raw Copper, Opaque Glass, Four Painted Band, 100-Black, SBK-Standard Black Cord | Courtesy of Chelsey Keeley 1500 2000 74277
65917 64907 product 0 78150 A 8 C 0 0 IMG_9895-residential-interior-lighting-Drum-Schoolhouse-Pendant-Opaque-105-Textured-Black-CSBB-Black-Brown-Chevron-PB8-Four-Painted-Bands-715-Delphite-Blue.JPG Drum Schoolhouse Pendant, Opaque Glass, 105-Textured Black, Black & Brown Chevron Cord, PB8-Four Painted Bands, 715-Delphite | Photo Courtesy of Mermaid Cottages, Tybee Island 2804 3471 78150
67203 62859 product 0 79436 A 8 C 0 0 residential-interior-lighting-on-Primary-Schoolhouse-LED-Pendant-Small-Opaque-106-Matte-Black-Black-and-White-Cloth-Cord-PB3-Triple-Painted-Band-100-Black.jpg Primary LED Schoolhouse Pendant, Small Opaque, 106-Matte Black, Black and White Cloth Cord, Triple Painted Band, 100-Black | Customer Submission 1500 2000 79436