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 (
    3452, 3454, 3455, 3456, 3458, 3459, 3460, 
    3461, 2379, 2382, 2380, 2381, 2375, 
    2387, 2388, 2389, 2390, 2391, 3464, 
    3467
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00186

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "48.01"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "20.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": 20,
            "rows_produced_per_join": 20,
            "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 (3452,3454,3455,3456,3458,3459,3460,3461,2379,2382,2380,2381,2375,2387,2388,2389,2390,2391,3464,3467)))",
            "cost_info": {
              "read_cost": "12.01",
              "eval_cost": "2.00",
              "prefix_cost": "14.01",
              "data_read_per_join": "1K"
            },
            "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": 20,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "5.00",
              "eval_cost": "2.00",
              "prefix_cost": "21.01",
              "data_read_per_join": "15K"
            },
            "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": 20,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "5.00",
              "eval_cost": "2.00",
              "prefix_cost": "28.01",
              "data_read_per_join": "11K"
            },
            "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 Double_A_Paper_Image.jpg 600 600 N N Y 15039 2379 product 11485 M 0 11485
0 Double_A_Paper_Image.jpg 600 600 N N Y 15040 2380 product 11485 M 0 11485
0 Double_A_Paper_Image.jpg 600 600 N N Y 15041 2381 product 11485 M 0 11485
0 Double_A_Paper_Image.jpg 600 600 N N Y 15042 2382 product 11485 M 0 11485
0 Delivard_Product_Images__4_.jpg 600 600 N N Y 15058 2391 product 11481 M 0 11481
0 Delivard_Product_Images_-_2025-07-03T115453.888.jpg 600 600 N N Y 15064 2375 product 11488 M 0 11488
0 Delivard_Product_Images_-_2025-07-03T115559.657_ryvv-bm.jpg 600 600 N N Y 15069 2387 product 11493 M 0 11493
0 Delivard_Product_Images_-_2025-07-03T115726.323_i6no-w2.jpg 600 600 N N Y 15074 2388 product 11498 M 0 11498
0 Delivard_Product_Images_-_2025-07-03T115644.109_uhg3-ci.jpg 600 600 N N Y 15079 2389 product 11503 M 0 11503
0 Delivard_Product_Images_-_2025-07-03T115826.188_gde4-we.jpg 600 600 N N Y 15084 2390 product 11508 M 0 11508
0 Delivard_Product_Images_-_2025-07-30T092523.003.jpg 600 600 N N Y 18541 3452 product 14039 M 0 14039
0 Delivard_Product_Images_-_2025-07-30T091850.983.jpg 600 600 N N Y 18543 3455 product 14036 M 0 14036
0 Delivard_Product_Images_-_2025-07-30T091938.383.jpg 600 600 N N Y 18545 3454 product 14037 M 0 14037
0 Delivard_Product_Images_-_2025-07-30T092014.351.jpg 600 600 N N Y 18550 3456 product 14038 M 0 14038
0 Delivard_Product_Images_-_2025-07-30T095014.044.jpg 600 600 N N Y 18559 3458 product 14045 M 0 14045
0 Delivard_Product_Images_-_2025-07-30T095051.791.jpg 600 600 N N Y 18563 3459 product 14046 M 0 14046
0 Delivard_Product_Images_-_2025-07-30T095139.680.jpg 600 600 N N Y 18567 3460 product 14047 M 0 14047
0 Delivard_Product_Images_-_2025-07-30T095205.927.jpg 600 600 N N Y 18571 3461 product 14048 M 0 14048
0 Delivard_Product_Images_-_2025-07-30T110802.835.jpg 600 600 N N Y 18595 3464 product 14069 M 0 14069
0 Delivard_Product_Images_-_2025-07-30T113519.763.jpg 600 600 N N Y 18601 3467 product 14072 M 3 14072