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 (
    11255, 11257, 11258, 11275, 11276, 11277, 
    11278, 11279, 11280, 11281, 10413, 
    10412
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00111

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "28.81"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "12.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": 12,
            "rows_produced_per_join": 12,
            "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 (11255,11257,11258,11275,11276,11277,11278,11279,11280,11281,10413,10412)))",
            "cost_info": {
              "read_cost": "7.21",
              "eval_cost": "1.20",
              "prefix_cost": "8.41",
              "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": 12,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "3.00",
              "eval_cost": "1.20",
              "prefix_cost": "12.61",
              "data_read_per_join": "9K"
            },
            "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": 12,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "3.00",
              "eval_cost": "1.20",
              "prefix_cost": "16.81",
              "data_read_per_join": "7K"
            },
            "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 198_l700-0a.jpg 600 600 N N N 41375 10412 product 31944 M 0 31944
0 199_ten2-he.jpg 600 600 N N N 41377 10413 product 31945 M 0 31945
0 cc_-_2026-01-24T182800.668.jpg 600 600 N N N 44652 11275 product 34756 M 0 34756
0 cc_-_2026-01-24T195422.375.jpg 600 600 N N N 44700 11279 product 34768 M 0 34768
0 image_2026-01-26_231605181.png 600 600 N N N 45219 11257 product 35138 M 0 35138
0 image_2026-01-26_231715426.png 600 600 N N N 45220 11255 product 35139 M 0 35139
0 image_2026-01-26_231816162.png 600 600 N N N 45221 11258 product 35140 M 0 35140
0 cc_-_2026-01-24T194100.842.jpg 600 600 N N N 44706 11280 product 34770 M 2 34770
0 cc_-_2026-01-24T183205.407.jpg 600 600 N N N 44672 11278 product 34759 M 3 34759
0 cc_-_2026-01-24T201408.365.jpg 600 600 N N N 44713 11281 product 34772 M 5 34772
0 cc_-_2026-01-24T184347.979.jpg 600 600 N N N 44679 11276 product 34762 M 6 34762
0 cc_-_2026-01-24T184923.412.jpg 600 600 N N N 44689 11277 product 34765 M 9 34765