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 (
    2432, 8485, 8484, 8483, 8500, 1532, 8502, 
    8501, 8499, 2459, 8492, 8491, 8493, 
    8504, 1528, 8505, 8503, 2455, 8488, 
    8487, 8486, 1517, 8498, 8497, 8490, 
    8489, 2438
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00164

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "64.81"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "27.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": 27,
            "rows_produced_per_join": 27,
            "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 (2432,8485,8484,8483,8500,1532,8502,8501,8499,2459,8492,8491,8493,8504,1528,8505,8503,2455,8488,8487,8486,1517,8498,8497,8490,8489,2438)))",
            "cost_info": {
              "read_cost": "16.21",
              "eval_cost": "2.70",
              "prefix_cost": "18.91",
              "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": 27,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "6.75",
              "eval_cost": "2.70",
              "prefix_cost": "28.36",
              "data_read_per_join": "20K"
            },
            "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": 27,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "6.75",
              "eval_cost": "2.70",
              "prefix_cost": "37.81",
              "data_read_per_join": "16K"
            },
            "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 1_pckf-a1.jpg 600 600 N N Y 12152 1517 product 10267 M 0 10267
0 1_x4br-7v.jpg 600 600 N N Y 12213 1528 product 10262 M 0 10262
0 1_9f1w-pk.jpg 600 600 N N Y 12237 1532 product 10282 M 0 10282
0 Xiaomi_TV_Pro_A_2026.jpg 750 750 N N Y 15244 2432 product 11585 M 0 11585
0 Xiaomi_TV_A_2026.jpg 750 750 N N Y 15250 2438 product 11586 M 0 11586
0 Xiaomi_TV_A_Pro_2025.jpg 750 750 N N Y 15268 2455 product 11602 M 0 11602
0 Xiaomi_TV_A_2025.jpg 750 750 N N Y 15272 2459 product 11603 M 0 11603
0 Xiaomi_TV_Pro_A_2026.jpg 750 750 N N Y 35965 8483 product 11585 M 0 11585
0 Xiaomi_TV_Pro_A_2026.jpg 750 750 N N Y 35966 8484 product 11585 M 0 11585
0 Xiaomi_TV_Pro_A_2026.jpg 750 750 N N Y 35967 8485 product 11585 M 0 11585
0 Xiaomi_TV_A_Pro_2025.jpg 750 750 N N Y 35974 8486 product 11602 M 0 11602
0 Xiaomi_TV_A_Pro_2025.jpg 750 750 N N Y 35975 8487 product 11602 M 0 11602
0 Xiaomi_TV_A_Pro_2025.jpg 750 750 N N Y 35976 8488 product 11602 M 0 11602
0 Xiaomi_TV_A_2026.jpg 750 750 N N Y 35981 8489 product 11586 M 0 11586
0 Xiaomi_TV_A_2026.jpg 750 750 N N Y 35982 8490 product 11586 M 0 11586
0 Xiaomi_TV_A_2025.jpg 750 750 N N Y 35989 8491 product 11603 M 0 11603
0 Xiaomi_TV_A_2025.jpg 750 750 N N Y 35990 8492 product 11603 M 0 11603
0 Xiaomi_TV_A_2025.jpg 750 750 N N Y 35991 8493 product 11603 M 0 11603
0 1_pckf-a1.jpg 600 600 N N Y 36013 8497 product 10267 M 0 10267
0 1_pckf-a1.jpg 600 600 N N Y 36014 8498 product 10267 M 0 10267
0 1_9f1w-pk.jpg 600 600 N N Y 36031 8499 product 10282 M 0 10282
0 1_9f1w-pk.jpg 600 600 N N Y 36032 8500 product 10282 M 0 10282
0 1_9f1w-pk.jpg 600 600 N N Y 36033 8501 product 10282 M 0 10282
0 1_9f1w-pk.jpg 600 600 N N Y 36034 8502 product 10282 M 0 10282
0 1_x4br-7v.jpg 600 600 N N Y 36047 8503 product 10262 M 0 10262
0 1_x4br-7v.jpg 600 600 N N Y 36048 8504 product 10262 M 0 10262
0 1_x4br-7v.jpg 600 600 N N Y 36049 8505 product 10262 M 0 10262