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 (65017, 64786, 64782, 64790) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00079

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": 29,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (65017,64786,64782,64790)"
        }
      }
    },
    "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
39622 64782 product 0 51855 A 0 D 0 0 chicago-chain-14in-500-buttery-yellow-CGG-RIB-CSW.jpg 14" Chicago, 500-Buttery Yellow, CGG-Standard Cast Guard, RIB-Ribbed Glass, CSW-White Cloth Cord 1000 1000 51855
39643 64786 product 0 51876 A 0 D 0 0 syracuse-chain-14in-400-barn-red-CGG-RIB-CRD.jpg 14" Syracuse, 400-Barn Red, CGG-Standard Cast Guard, RIB-Ribbed Glass, CSR-Red Cloth Cord 1000 1000 51876
39681 64790 product 0 51914 A 0 D 0 0 cleveland-chain-12in-400-barn-red-CGG-FST-alt.jpg 12" Cleveland, 400-Barn Red, CGG-Standard Cast Guard, FST-Frosted Glass, CSR-Red Cloth Cord 1000 1000 51914
50965 65017 product 0 63198 A 0 D 0 0 rochester-chain-12in-100-black-TGG-FST-CSB-alt.jpg 12" Rochester LED, 100-Black, TGG-Heavy Duty Cast Guard, FST-Frosted Glass, CSB-Black Cloth Cord 1000 1000 63198
66603 64790 product 0 78836 A 1 D 0 0 cleveland-chain-full-build-12in-300-dark-green-CGG-RIB-alt.jpg 12" Cleveland, 300-Dark Green, CGG-Standard Cast Guard, RIB-Ribbed Glass, CSBB-Black & Brown Cloth Cord 1000 1000 78836
66690 64786 product 0 78923 A 1 D 0 0 syracuse-chain-16in-975-galvanized-CGG-RIB-CSB.jpg 16" Syracuse, 975-Galvanized, CGG-Standard Cast Guard, RIB-Ribbed Glass, CSB-Black Cloth Cord 1000 1000 78923
66704 65017 product 0 78937 A 1 D 0 0 rochester-chain-18in-400-barn-red-CGG-FST-CRD-alt_ytmt-ns.jpg 18" Rochester LED, 400-Barn Red, CGG-Standard Cast Guard, FST-Frosted Glass, CSR-Red Cloth Cord 1000 1000 78937
66709 64782 product 0 78942 A 1 D 0 0 chicago-chain-full-build-20in-390-teal-975-galvanized-CGG-FST-CSBG.jpg 20" Chicago, 390-Teal, CGG-Standard Cast Guard, 975-Galvanized, FST-Frosted Glass, CSBG-Black & Gold Cloth Cord, Mounting in 975-Galvanized 1000 1000 78942
39624 64782 product 0 51857 A 2 D 0 0 chicago-chain-16in-400-barn-red-CGG-FST-CRZ.jpg 16" Chicago, 400-Barn Red, CGG-Standard Cast Guard, FST-Frosted Glass, CRZ-Red Chevron Cord 1000 1000 51857
39682 64790 product 0 51915 A 2 D 0 0 cleveland-chain-12in-700-royal-200-white-CSUW-CGG-FST-alt.jpg 12" Cleveland, 700-Royal Blue, CGG-Standard Cast Guard, 200-White, FST-Frosted Glass, CSUW-Blue & White Cloth Cord, Mounting in 200-White 1000 1000 51915
50966 65017 product 0 63199 A 2 D 0 0 rochester-chain-full-build-18in-975-galvanized-TGG-FST-CSBG-alt.jpg 18" Rochester LED, 975-Galvanized, TGG-Heavy Duty Cast Guard, FST-Frosted Glass, CSBG-Black & Gold Cloth Cord 1000 1000 63199
66693 64786 product 0 78926 A 2 D 0 0 syracuse-chain-full-build-12in-500-buttery-yellow-975-galvanized-CGG-RIB-CSBG.jpg 12" Syracuse, 500-Buttery Yellow, CGG-Standard Cast Guard, RIB-Ribbed Glass, CSBG-Black & Gold Cloth Cord, Mounting in 975-Galvanized 1000 1000 78926
39683 64790 product 0 51916 A 3 D 0 0 cleveland-chain-14in-975-galvanized-CSBG-TGG-FST-alt.jpg 14" Cleveland, 975-Galvanized, TGG-Heavy Duty Cast Guard, FST-Frosted Glass, CSBG-Black & Gold Cloth Cord 1000 1000 51916
50970 65017 product 0 63203 A 3 D 0 0 rochester-chain-12in-500-buttery-yellow-100-black-CGG-FST-CSBG-alt.jpg 12" Rochester LED, 500-Buttery Yellow, CGG-Standard Cast Guard, 100-Black, FST-Frosted Glass, CSBG-Black & Gold Cloth Cord, Mounting in 100-Black 1000 1000 63203
66692 64786 product 0 78925 A 3 D 0 0 syracuse-chain-18in-705-navy-490-magenta-CGG-RIB-CSBP.jpg 18" Syracuse, 705-Navy, CGG-Standard Cast Guard, 490-Magenta, RIB-Ribbed Glass, CSBP-Black & Pink Cloth Cord 1000 1000 78925
66708 64782 product 0 78941 A 3 D 0 0 chicago-chain-20in-100-black-TGG-FST-SBK.jpg 20" Chicago, 100-Black, TGG-Heavy Duty Cast Guard, FST-Frosted Glass, SBK-Standard Black Cord 1000 1000 78941
39641 64786 product 0 51874 A 4 D 0 0 syracuse-chain-12in-200-white-WGG-FST-CSW.jpg 12" Syracuse, 200-White, WGG-Wire Guard, FST-Frosted Glass, CSW-White Cloth Cord 1000 1000 51874
66600 64790 product 0 78833 A 4 D 0 0 cleveland-chain-16in-100-black-CGG-RIB-CSB-alt.jpg 16" Cleveland, 100-Black, CGG-Standard Cast Guard, RIB-Ribbed Glass, CSB-Black Cloth Cord 1000 1000 78833
66702 65017 product 0 78935 A 4 D 0 0 rochester-chain-14in-705-Navy-975-galvanized-CGG-RIB-CRZ-alt.jpg 14" Rochester LED, 705-Navy, CGG-Standard Cast Guard, 975-Galvanized, RIB-Ribbed Glass, CRZ-Red Chevron Cord, Mounting in 975-Galvanized 1000 1000 78935
66707 64782 product 0 78940 A 4 D 0 0 chicago-chain-18in-355-Jadite-975-galvanized-CGG-RIB-CSB.jpg 18" Chicago, 355-Porcelain Jadite, CGG-Standard Cast Guard, 975-Galvanized, RIB-Ribbed Glass, CSB-Black Cloth Cord 1000 1000 78940
39623 64782 product 0 51856 A 5 D 0 0 chicago-chain-16in-700-royal-CGG-RIB-CSUW.jpg 16" Chicago, 700-Royal Blue, CGG-Standard Cast Guard, RIB-Ribbed Glass, CSUW-Blue & White Cloth Cord 1000 1000 51856
66601 64790 product 0 78834 A 5 D 0 0 cleveland-chain-16in-200-white-100-black-CSBW-WGG-RIB-alt.jpg 16" Cleveland, 200-White, WGG-Wire Guard, 100-Black, RIB-Ribbed Glass, CSBW-Black & White Cloth Cord, Mounting in 100-Black 1000 1000 78834
66691 64786 product 0 78924 A 5 D 0 0 syracuse-chain-18in-100-black-TGG-FST-SBK.jpg 18" Syracuse, 100-Black, TGG-Heavy Duty Cast Guard, FST-Frosted Glass, SBK-Standard Black Cord 1000 1000 78924
66703 65017 product 0 78936 A 5 D 0 0 rochester-chain-16in-200-white-WGG-FST-CSW-alt_brfz-d0.jpg 16" Rochester LED, 200-White, WGG-Wire Guard, FST-Frosted Glass, CSW-White Cloth Cord 1000 1000 78936
39642 64786 product 0 51875 A 6 D 0 0 syracuse-chain-14in-700-royal-CGG-FST-CSUW.jpg 14" Syracuse, 700-Royal Blue, CGG-Standard Cast Guard, FST-Frosted Glass, CSUW-Blue & White Cloth Cord 1000 1000 51875
66602 64790 product 0 78835 A 6 D 0 0 cleveland-chain-16in-500-buttery-yellow-CSB-CGG-RIB-alt.jpg 16" Cleveland, 500-Buttery Yellow, CGG-Standard Cast Guard, RIB-Ribbed Glass, CSB-Black Cloth Cord 1000 1000 78835
66705 65017 product 0 78938 A 6 D 0 0 rochester-chain-16in-765-delphite-100-black-CGG-RIB-CSBW-alt_0qfw-uu.jpg 16" Rochester LED, 765-Porcelain Delphite, CGG-Standard Cast Guard, 150-Black, RIB-Ribbed Glass, CSBW-Black & White Cloth Cord, Mounting in 150-Black 1000 1000 78938
66706 64782 product 0 78939 A 6 D 0 0 chicago-chain-18in-350-vintage-100-black-CGG-RIB-CSBG.jpg 18" Chicago, 350-Porcelain Vintage Green, CGG-Standard Cast Guard, 150-Black, RIB-Ribbed Glass, CSBG-Black & Gold Cloth Cord, Mounting in 150-Black 1000 1000 78939
61434 64790 product 0 73667 A 7 C 0 0 Cleveland_Vintage_Industrial_Chain_Hung_Pendant_Light_-_975_Galvanized_Barn_Light_Electric_-_Interior_Garage_Workbench_Lighting.jpg 14" Cleveland, 975-Galvanized, WGG-Wire Cast Guard, 975-Galvanized, CLR-Clear Glass, Mounting in 975-Galvanized, CMG-Grey Cloth Cord, 5 ft of Chain | Photo Courtesy of Customer 1500 1125 73667