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 (
    908, 134, 2265, 2264, 2263, 2253, 2258, 
    2257, 2256, 2255, 2260, 2259, 2251, 
    2262, 2261, 2252, 2267, 2266, 2254
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00153

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "54.21"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "23.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": 23,
            "rows_produced_per_join": 23,
            "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 (908,134,2265,2264,2263,2253,2258,2257,2256,2255,2260,2259,2251,2262,2261,2252,2267,2266,2254)))",
            "cost_info": {
              "read_cost": "12.81",
              "eval_cost": "2.30",
              "prefix_cost": "15.11",
              "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": 23,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "5.75",
              "eval_cost": "2.30",
              "prefix_cost": "23.16",
              "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": 23,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "5.75",
              "eval_cost": "2.30",
              "prefix_cost": "31.21",
              "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 5_iydv-yb.jpg 600 600 N N Y 9578 908 product 9640 M 0 9640
0 4_1z41-n0.jpg 600 600 N N Y 14638 2251 product 11194 M 0 11194
0 5_vavi-u3.jpg 600 600 N N Y 14641 2252 product 11197 M 0 11197
0 6_6p2d-86.jpg 600 600 N N Y 14644 2253 product 11200 M 0 11200
0 7_toeh-ts.jpg 600 600 N N Y 14648 2254 product 11204 M 0 11204
0 9_fije-11.jpg 600 600 N N Y 14651 2255 product 11207 M 0 11207
0 MI-REDMI-BUDS-6-ACTIVE-PINK-1.webp 800 800 N N Y 14657 2258 product 11210 M 0 11210
0 auriculares-bluetooth-xiaomi-redmi-buds-6-active-tws-blue-auriculares-bluetooth-xiaomi-redmi-buds-6-active-tws-blue.jpg 2000 2000 N N Y 14659 2257 product 11209 M 0 11209
0 66ea8a374c48b_gdb5a4J7RWIjbaQZz3YSohmxIICDQObdhl0ofTHMjCD3rXaDGU-slider.jpg 800 800 N N Y 14661 2256 product 11208 M 0 11208
0 pDDKOmtHnaJ5ZyWt27OdaopyOMmXIm5RqWJxYiCt.jpg 2083 2083 N N Y 14667 2259 product 11196 M 0 11196
0 60XhZYSrqLhvIYww8x6gBEUD41q7naf1iQcPlTyE.jpg 2083 2083 N N Y 14670 2260 product 11195 M 0 11195
0 redmi-buds-6-pro-blk-1740176766-1741692589.jpg 1024 1024 N N Y 14673 2261 product 11199 M 0 11199
0 61VccYcthyL.jpg 2500 2500 N N Y 14676 2262 product 11198 M 0 11198
0 redmi_buds_6_play.jpg 600 600 N N Y 14679 2263 product 11203 M 0 11203
0 336928_175086.webp 1000 1000 N N Y 14683 2264 product 11202 M 0 11202
0 674da816a2f96_LD0006181082-slider.jpg 800 800 N N Y 14687 2265 product 11201 M 0 11201
0 download-2025-02-12T152145.795.webp 1600 1600 N N Y 14692 2267 product 11206 M 0 11206
0 LD0006181053.jpg 1600 1600 N N Y 14693 2266 product 11205 M 0 11205
0 4_544t-2l.jpg 600 600 N N Y 9436 134 product 9639 M 1 9639