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 (
    2314, 2312, 2310, 2334, 2333, 1600, 1601, 
    1602, 1603, 3131, 3132, 3133, 1609, 
    1610, 1615, 1616, 2330, 2329, 2315, 
    2349, 2351, 2350
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00211

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "52.81"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "22.00"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_images_links",
            "access_type": "range",
            "possible_keys": [
              "object_id"
            ],
            "key": "object_id",
            "used_key_parts": [
              "object_id",
              "object_type",
              "type"
            ],
            "key_length": "81",
            "rows_examined_per_scan": 22,
            "rows_produced_per_join": 22,
            "filtered": "100.00",
            "index_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_images_links`.`object_type` = 'product') and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_images_links`.`type` = 'M') and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_images_links`.`object_id` in (2314,2312,2310,2334,2333,1600,1601,1602,1603,3131,3132,3133,1609,1610,1615,1616,2330,2329,2315,2349,2351,2350)))",
            "cost_info": {
              "read_cost": "13.21",
              "eval_cost": "2.20",
              "prefix_cost": "15.41",
              "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": [
              "softwarepirmam_hewadelivard_cscart_4.cscart_images_links.detailed_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 22,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "5.50",
              "eval_cost": "2.20",
              "prefix_cost": "23.11",
              "data_read_per_join": "17K"
            },
            "used_columns": [
              "image_id",
              "image_path",
              "image_x",
              "image_y",
              "is_high_res",
              "transparent",
              "cp_in_opt_list"
            ]
          }
        },
        {
          "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": "108",
            "ref": [
              "softwarepirmam_hewadelivard_cscart_4.cscart_images.image_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 22,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "5.50",
              "eval_cost": "2.20",
              "prefix_cost": "30.81",
              "data_read_per_join": "13K"
            },
            "used_columns": [
              "object_id",
              "description",
              "lang_code",
              "object_holder"
            ]
          }
        }
      ]
    }
  }
}

Result

image_id image_path image_x image_y is_high_res transparent cp_in_opt_list pair_id object_id object_type detailed_id type position alt images_image_id
0 Black_e27r-bs.jpg 600 600 N N Y 12572 1600 product 10581 M 0 10581
0 pink_t9wf-0c.jpg 600 600 N N Y 12577 1603 product 10583 M 0 10583
0 Teal.jpg 600 600 N N Y 12582 1602 product 10582 M 0 10582
0 white_6u2q-rq.jpg 600 600 N N Y 12584 1601 product 10580 M 0 10580
0 black.jpg 600 600 N N Y 12604 1609 product 10589 M 0 10589
0 white_s6kx-pz.jpg 600 600 N N Y 12606 1610 product 10590 M 0 10590
0 Delivard_Product_Images_-_2025-06-24T141206.830.jpg 600 600 N N Y 14891 2315 product 11377 M 0 11377
0 Delivard_Product_Images_-_2025-06-26T143552.430.jpg 600 600 N N Y 14925 2333 product 11407 M 0 11407
0 Delivard_Product_Images_-_2025-07-01T102752.156.jpg 600 600 N N Y 14957 2349 product 11432 M 0 11432
0 gQRpWQExp9aaVzTmIAxL0KXIswM7YkThcxaBvkcS.webp 720 720 N N Y 14961 2351 product 11433 M 0 11433
0 QLxQ44sSvmKjlQlGm3ZPKjpaeUpmmKUA5N47zj7U.webp 800 800 N N Y 14962 2350 product 11434 M 0 11434
0 Untitled_design_-_2025-08-04T135625.226.jpg 600 600 N N Y 19268 1615 product 14678 M 0 14678
0 Untitled_design_-_2025-08-04T135606.036_q9od-jn.jpg 600 600 N N Y 19270 1616 product 14680 M 0 14680
0 Untitled_design_-_2025-08-04T140709.130.jpg 600 600 N N Y 19279 2310 product 14689 M 0 14689
0 Untitled_design_-_2025-08-04T140650.641_a194-u4.jpg 600 600 N N Y 19282 2312 product 14692 M 0 14692
0 Untitled_design_-_2025-08-04T155852.902.jpg 600 600 N N Y 19360 3131 product 14765 M 0 14765
0 Untitled_design_-_2025-08-04T155907.925_jpmk-wo.jpg 600 600 N N Y 19363 3132 product 14768 M 0 14768
0 Untitled_design_-_2025-08-04T155928.170_yjr6-ig.jpg 600 600 N N Y 19366 3133 product 14771 M 0 14771
0 1855828208923.png 1000 1000 N N Y 14927 2334 product 11408 M 1 11408
0 b563Bwa56vG1pYE1XwIHNP4x1HTlWINfPxr8hNy2_5n3p-fk.jpg 800 800 N N Y 14890 2314 product 11376 M 2 11376
0 Delivard_Product_Images_-_2025-06-24T141206.830_qimm-gs.jpg 600 600 N N Y 14921 2329 product 11403 M 2 11403
0 6932948745225.png 700 700 N N Y 14922 2330 product 11404 M 2 11404