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 (65498, 65501, 65500, 65499) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00112

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": 40,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (65498,65501,65500,65499)"
        }
      }
    },
    "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
59449 65498 product 0 71682 A 0 D 0 0 Drum-schoolhouse-sconce-Blush-Pink.jpg Drum Schoolhouse Sconce, 480-Blush Pink, Opaque Glass, Single Painted Band, 100-Black 1000 1000 71682
59471 65499 product 0 71704 A 0 D 0 0 0-Globe-schoolhouse-sconce-Oil-Rubbed-alt.jpg Round Schoolhouse Sconce, 615-Oil-Rubbed Bronze, Opaque Glass 1000 1000 71704
59472 65499 product 0 71705 A 0 D 0 0 0-Globe-schoolhouse-sconce-Buttery-Yellow-alt.jpg Round Schoolhouse Sconce, 500-Buttery Yellow, Clear Glass, Two Painted Band, 100-Black 1000 1000 71705
59475 65499 product 0 71708 A 0 D 0 0 0-Globe-schoolhouse-sconce-Delphite-alt.jpg Round Schoolhouse Sconce, 715-Delphite Blue, Opaque Glass 1000 1000 71708
59476 65499 product 0 71709 A 0 D 0 0 0-Globe-schoolhouse-sconce-Barn-Red-alt.jpg Round Schoolhouse Sconce, 400-Barn Red, Opaque Glass, Four Painted Band 1000 1000 71709
59477 65499 product 0 71710 A 0 D 0 0 0-Globe-schoolhouse-sconce-Royal-Blue-alt.jpg Round Schoolhouse Sconce, 700-Royal Blue, Clear Glass, Three Painted Band 1000 1000 71710
59478 65499 product 0 71711 A 0 D 0 0 0-Globe-schoolhouse-sconce-Black-alt.jpg Round Schoolhouse Sconce, 100-Black, Opaque Glass, Three Painted Band 1000 1000 71711
59479 65499 product 0 71712 A 0 D 0 0 0-Globe-schoolhouse-sconce-Galvanized-alt.jpg Round Schoolhouse Sconce, 975-Galvanized, Clear Glass 1000 1000 71712
59498 65501 product 0 71731 A 0 D 0 0 acorn-schoolhouse-sconce-Teal_0s5t-pn.jpg Acorn LED Schoolhouse Sconce, 390-Teal, Opaque Glass, Three Painted Band 1000 1000 71731
60060 65499 product 0 72293 A 0 C 0 0 Round_Schoolhouse_Sconce_-_Barn_Light_Electric_-_Restaurant_Lighting.jpg Round Schoolhouse Sconce, 500-Buttery Yellow Fitter, Opaque Glass, Two Painted Bands in 390-Teal 4000 6000 72293
63655 65500 product 0 75888 A 0 D 0 0 schoolhouse-primary-LED-sconce-large-opaque-glass-700-royal-blue-single-painted-band.jpg Primary LED Schoolhouse Sconce, 700-Royal Blue, Large Opaque Glass, Single Painted Band 1000 1000 75888
59450 65498 product 0 71683 A 1 D 0 0 Drum-schoolhouse-sconce-Galvanized.jpg Drum Schoolhouse Sconce, 975-Galvanized, Opaque Glass 1000 1000 71683
59499 65501 product 0 71732 A 1 D 0 0 acorn-schoolhouse-sconce-Lavender-clear_noj5-2v.jpg Acorn LED Schoolhouse Sconce, 790-Lavender, Opaque Glass 1000 1000 71732
63654 65500 product 0 75887 A 1 D 0 0 schoolhouse-primary-LED-sconce-small-clear-glass-615-oil-rubbed-bronze.jpg Primary LED Schoolhouse Sconce, 615-Oil-Rubbed Bronze, Small Clear Glass 1000 1000 75887
59451 65498 product 0 71684 A 2 D 0 0 Drum-schoolhouse-sconce-Roayal-Blue.jpg Drum Schoolhouse Sconce, 700-Royal Blue, Clear Glass, Seven Painted Band 1000 1000 71684
60010 65501 product 0 72243 A 2 D 0 0 acorn-schoolhouse-sconce-Buttery-Yellow-Black_54jj-4z_6yic-8n.jpg Acorn LED Schoolhouse Sconce, 500-Buttery Yellow, Opaque Glass, Three Painted Band, 100-Black 1000 1000 72243
63656 65500 product 0 75889 A 2 D 0 0 schoolhouse-primary-LED-sconce-large-opaque-glass-500-buttery-yellow-100-black-double-painted-band.jpg Primary LED Schoolhouse Sconce, 500-Buttery Yellow, Double Painted Band, 100-Black 1000 1000 75889
59452 65498 product 0 71685 A 3 D 0 0 Drum-schoolhouse-sconce-oil-Rubbed.jpg Drum Schoolhouse Sconce, 615-Oil-Rubbed Bronze, Clear Glass 1000 1000 71685
59503 65501 product 0 71736 A 3 D 0 0 acorn-schoolhouse-sconce-Barn-Red_gw4c-s2.jpg Acorn LED Schoolhouse Sconce, 400-Barn Red, Opaque Glass, Five Painted Band 1000 1000 71736
60009 65500 product 0 72242 A 3 D 0 0 schoolhouse-primary-LED-sconce-small-clear-glass-705-navy-single-painted-band.jpg Primary LED Schoolhouse Sconce, 705-Navy, Small Clear Glass, Single Painted Band 1000 1000 72242
59453 65498 product 0 71686 A 4 D 0 0 Drum-schoolhouse-sconce-Jadite.jpg Drum Schoolhouse Sconce, 370-Mint, Opaque Glass, Four Painted Band 1000 1000 71686
59508 65501 product 0 71741 A 4 D 0 0 acorn-schoolhouse-sconce-Jadite_bybi-eh.jpg Acorn LED Schoolhouse Sconce, 370-Mint, Opaque Glass, Five Painted Band 1000 1000 71741
63658 65500 product 0 75891 A 4 D 0 0 schoolhouse-primary-LED-sconce-large-clear-glass-307-emerald-green.jpg Primary LED Schoolhouse Sconce, 307-Emerald Green, Large Clear Glass 1000 1000 75891
59454 65498 product 0 71687 A 5 D 0 0 Drum-schoolhouse-sconce-Navy-Clear.jpg Drum Schoolhouse Sconce, 705-Navy, Clear Glass, Single Painted Band 1000 1000 71687
59484 65500 product 0 71717 A 5 D 0 0 schoolhouse-primary-LED-sconce-small-opaque-glass-200-white-715-delphite-double-painted-band.jpg Primary LED Schoolhouse Sconce, 200-White, Small Opaque Glass, Double Painted Band, 715-Delphite 1000 1000 71717
59510 65501 product 0 71743 A 5 D 0 0 acorn-schoolhouse-sconce-Royal-Blue_k22w-l4.jpg Acorn LED Schoolhouse Sconce, 700-Royal Blue, Clear Glass, Three Painted Band 1000 1000 71743
59455 65498 product 0 71688 A 6 D 0 0 Drum-schoolhouse-sconce-Buttery-Yellow.jpg Drum Schoolhouse Sconce, 500-Buttery Yellow, Opaque Glass, Four Painted Band 1000 1000 71688
63657 65500 product 0 75890 A 6 D 0 0 schoolhouse-primary-LED-sconce-large-clear-glass-805-charcoal-granite-200-white-triple-painted-band.jpg Primary LED Schoolhouse Sconce, 805-Charcoal Granite, Large Clear Glass, Triple Painted Band, 200-White 1000 1000 75890
68735 65501 product 0 80968 A 6 C 0 0 IMG_1593-residential-interior-lighting-living-Acorn-LED-Schoolhouse-Sconce-Clear-Glass-106-Matte-Black.jpg Acorn LED Schoolhouse Sconce, 106-Matte Black, Clear Glass | Photo Courtesy of Customer 1471 1961 80968
59456 65498 product 0 71689 A 7 D 0 0 Drum-schoolhouse-sconce-Barn-Red.jpg Drum Schoolhouse Sconce, 400-Barn Red, Opaque Glass, Seven Painted Band 1000 1000 71689
68734 65501 product 0 80967 A 7 C 0 0 IMG_1592-residential-interior-lighting-living-Acorn-LED-Schoolhouse-Sconce-Clear-Glass-106-Matte-Black.jpg Acorn LED Schoolhouse Sconce, 106-Matte Black, Clear Glass | Photo Courtesy of Customer 1014 993 80967
59514 65498 product 0 71747 A 8 C 0 0 Drum_Wall_Sconce_-_Black_Barn_Light_Electric_-_Farmhouse_Exterior_Porch_Lighting.jpg Drum Schoolhouse Sconce, 100-Black, Opaque Glass | Photo Courtesy of Stacey Rosetti (@stacey.athome) 1500 2005 71747
68736 65501 product 0 80969 A 8 C 0 0 IMG_1594-residential-interior-lighting-living-Acorn-LED-Schoolhouse-Sconce-Clear-Glass-106-Matte-Black.jpg Acorn LED Schoolhouse Sconce, 106-Matte Black, Clear Glass | Photo Courtesy of Customer 1461 1947 80969
59513 65498 product 0 71746 A 9 C 0 0 Drum_Wall_Sconce_-_100_Black_Barn_Light_Electric_-_Farmhouse_Front_Porch_Lighting.jpg Drum Schoolhouse Sconce, 100-Black, Opaque Glass | Photo Courtesy of Stacey Rosetti (@stacey.athome) 1500 2003 71746
68737 65501 product 0 80970 A 9 C 0 0 IMG_1591-residential-interior-lighting-living-Acorn-LED-Schoolhouse-Sconce-Clear-Glass-106-Matte-Black.jpg Acorn LED Schoolhouse Sconce, 106-Matte Black, Clear Glass | Photo Courtesy of Customer 1500 2000 80970
64118 65498 product 0 76351 A 10 C 0 0 bar-The_Lede-commercial-interior-bar-restaurant-lighting-Drum-Schoolhouse-Sconce-Opaque-480-Blush-Pink-Four-Painted-Bands-100-Black.jpg Drum Schoolhouse, Opaque Glass, 480-Blush Pink, Four Painted Band, 100-Black | Photo Courtesy of The Lede 1500 1875 76351
59512 65498 product 0 71745 A 11 C 0 0 Drum_Wall_Sconce_-_Black_Barn_Light_Electric_-_Front_Porch_Lighting.jpg Drum Schoolhouse Sconce, 100-Black, Opaque Glass | Photo Courtesy of Stacey Rosetti (@stacey.athome) 1500 2000 71745
60300 65498 product 0 72533 A 12 C 0 0 Drum_Schoolhouse_Sconce_-_Black_Barn_Light_Electric_-_Modern_Farmhouse_Bathroom_Lighting.jpg Drum Schoolhouse Sconce, 100-Black, Opaque Glass, Four Painted Bands in Black | Photo Courtesy of Stacey Rosetti (@stacey.athome) 1500 2000 72533
60041 65498 product 0 72274 A 13 C 0 0 Drum_Schoolhouse_Sconce_-_Delphite_Bands_Barn_Light_Electric_-_Office_Lighting.jpg Drum Schoolhouse Sconce, Opaque Glass, 615-Oil-Rubbed Bronze Fitter Finish, Four Painted Bands in 715-Delphite Blue 1500 1942 72274
60042 65498 product 0 72275 A 14 C 0 0 Drum_Schoolhouse_Wall_Sconce_-_Barn_Light_Electric_-_Barn_Red_Kids_Bedroom_Lighting.jpg Drum, Opaque Glass, 400-Barn Red Fitter Finish, Seven Painted Bands in 715-Delphite Blue 1500 2250 72275