SELECT 
  cscart_images.*, 
  cscart_images_links.*, 
  cscart_common_descriptions.description AS alt, 
  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 = 'M' 
  AND cscart_images_links.object_id IN (
    2091, 3896, 3897, 8002, 8003, 8018, 9890, 
    12041, 12042, 13068, 13102, 14266, 
    15957, 16999, 17000, 17002, 17003, 
    17083, 17084, 18063, 18071, 24167, 
    25616, 25670
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00126

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "116.23"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "26.00"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_images_links",
            "access_type": "range",
            "possible_keys": [
              "object_id",
              "idx_object_type_type_position"
            ],
            "key": "object_id",
            "used_key_parts": [
              "object_id",
              "object_type",
              "type"
            ],
            "key_length": "81",
            "rows_examined_per_scan": 26,
            "rows_produced_per_join": 26,
            "filtered": "100.00",
            "index_condition": "((`cscart_db`.`cscart_images_links`.`object_type` = 'product') and (`cscart_db`.`cscart_images_links`.`type` = 'M') and (`cscart_db`.`cscart_images_links`.`object_id` in (2091,3896,3897,8002,8003,8018,9890,12041,12042,13068,13102,14266,15957,16999,17000,17002,17003,17083,17084,18063,18071,24167,25616,25670)))",
            "cost_info": {
              "read_cost": "41.80",
              "eval_cost": "2.60",
              "prefix_cost": "44.40",
              "data_read_per_join": "2K"
            },
            "used_columns": [
              "pair_id",
              "object_id",
              "object_type",
              "image_id",
              "detailed_id",
              "type",
              "position"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_images",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "image_id"
            ],
            "key_length": "4",
            "ref": [
              "cscart_db.cscart_images_links.detailed_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 26,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "21.09",
              "eval_cost": "2.60",
              "prefix_cost": "68.08",
              "data_read_per_join": "19K"
            },
            "used_columns": [
              "image_id",
              "image_path",
              "image_x",
              "image_y",
              "is_high_res"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_common_descriptions",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "object_id",
              "lang_code",
              "object_holder"
            ],
            "key_length": "107",
            "ref": [
              "cscart_db.cscart_images.image_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 26,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "19.55",
              "eval_cost": "2.60",
              "prefix_cost": "90.23",
              "data_read_per_join": "15K"
            },
            "used_columns": [
              "object_id",
              "description",
              "lang_code",
              "object_holder"
            ],
            "attached_condition": "<if>(is_not_null_compl(cscart_common_descriptions), (`cscart_db`.`cscart_common_descriptions`.`object_id` = `cscart_db`.`cscart_images`.`image_id`), true)"
          }
        }
      ]
    }
  }
}

Result

image_id image_path image_x image_y is_high_res pair_id object_id object_type detailed_id type position alt images_image_id
0 baeyork08.png 1200 1200 N 2072 2091 product 3994 M 0 3994
0 FWOA100.jpg 1125 1125 N 7511 3896 product 9434 M 0 9434
0 FWAR100.jpg 1125 1125 N 7512 3897 product 9435 M 0 9435
0 1-Skin-Lightening-Face-Wash-Listing.jpg 1125 1125 N 30111 9890 product 31463 M 0 31463
0 1_0x1a-s3.jpg 2000 2000 N 40794 12041 product 42146 M 0 42146
0 1.1_ilk2-2i.jpg 2000 2000 N 40812 12042 product 42164 M 0 42164
0 1_zxt6-yz.png 1500 1291 N 46286 13068 product 47638 M 0 47638
0 Reticuram_15_ml.1.jpg 3000 3000 N 50943 14266 product 52295 M 0 52295
0 the_natural_wash_grealmo_green_tea_face_wash_for_clean_and_moisturized_skin_100_ml_0_0.jpg 600 600 N 58233 15957 product 59585 M 0 59585
0 13.1.png 900 900 N 63977 16999 product 65329 M 0 65329
0 14.1.png 900 900 N 63987 17000 product 65339 M 0 65339
0 15.1.png 900 900 N 63994 17002 product 65346 M 0 65346
0 Amazon_creatives_-NEEM_TURMERIC_ALOEVERA_Face_Wash_0005_Layer_617.jpg 1100 1100 N 63998 17003 product 65350 M 0 65350
0 Tea_tree_face_waSh_2_vgiv-uv.jpg 1080 1080 N 64563 17084 product 65915 M 0 65915
0 Vit_c_face_wash_2_copy.png 1080 1080 N 64573 17083 product 65925 M 0 65925
0 Aqua-Bomb-Jelly-Cleanser-1.jpg 1000 1000 N 69413 18063 product 70765 M 0 70765
0 Nose-Shine-Boy-1.jpg 1000 1000 N 69463 18071 product 70815 M 0 70815
0 main-image-01.jpg 1080 1080 N 93995 25616 product 95347 M 0 95347
0 1.5.jpg 1000 1000 N 94206 25670 product 95558 M 0 95558
0 1__1__143q-m9_kgrj-ps.jpg 1080 1080 N 189769 13102 product 191107 M 0 191107
0 Aloe_Cucumber_Face_Wash_.jpg 5760 3840 N 40671 8002 product 42023 M 3 42023
0 Honey_Lemon_Face_Wash_.jpg 5760 3840 N 40675 8003 product 42027 M 3 42027
0 HO2A1349.jpg 5760 3840 N 40719 8018 product 42071 M 4 42071
0 1.jpg 1080 1440 N 91687 24167 product 93039 M 6 93039
0 1_lsbz-rq.jpg 1600 1600 N 204018 13102 product 205302 M 10 205302
0 1_lsbz-rq_wn6d-54.jpg 1600 1600 N 204023 13102 product 205307 M 10 205307