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 (
    5461, 5462, 5463, 5458, 5459, 5460, 5329, 
    5328, 5330, 5502, 5503, 5365, 5366, 
    5456, 5457, 5367, 5368, 5500, 5501, 
    5333, 5334, 5594, 5595, 5363, 5364, 
    5335, 5336, 5504, 5505, 5506, 5507, 
    6185, 6186, 6114, 6115, 5647, 5648, 
    6146, 6147
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00233

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "93.61"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "39.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": 39,
            "rows_produced_per_join": 39,
            "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 (5461,5462,5463,5458,5459,5460,5329,5328,5330,5502,5503,5365,5366,5456,5457,5367,5368,5500,5501,5333,5334,5594,5595,5363,5364,5335,5336,5504,5505,5506,5507,6185,6186,6114,6115,5647,5648,6146,6147)))",
            "cost_info": {
              "read_cost": "23.41",
              "eval_cost": "3.90",
              "prefix_cost": "27.31",
              "data_read_per_join": "3K"
            },
            "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": 39,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "9.75",
              "eval_cost": "3.90",
              "prefix_cost": "40.96",
              "data_read_per_join": "30K"
            },
            "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": 39,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "9.75",
              "eval_cost": "3.90",
              "prefix_cost": "54.61",
              "data_read_per_join": "23K"
            },
            "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 Delivard_li5z-o7.jpg 900 900 N N Y 25404 5330 product 19222 M 0 19222
0 Delivard_xu46-7v.jpg 900 900 N N Y 25423 5333 product 19229 M 0 19229
0 Delivard_xu46-7v.jpg 900 900 N N Y 25424 5334 product 19229 M 0 19229
0 Delivard_arzk-t3.jpg 900 900 N N Y 25427 5335 product 19232 M 0 19232
0 Delivard_arzk-t3.jpg 900 900 N N Y 25428 5336 product 19232 M 0 19232
0 Delivard_vgyb-ok.jpg 900 900 N N Y 25465 5363 product 19267 M 0 19267
0 Delivard_vgyb-ok.jpg 900 900 N N Y 25466 5364 product 19267 M 0 19267
0 Delivard_3vmm-qv.jpg 900 900 N N Y 25467 5365 product 19268 M 0 19268
0 Delivard_3vmm-qv.jpg 900 900 N N Y 25468 5366 product 19268 M 0 19268
0 Delivard_4ir1-2x.jpg 900 900 N N Y 25469 5367 product 19269 M 0 19269
0 Delivard_4ir1-2x.jpg 900 900 N N Y 25470 5368 product 19269 M 0 19269
0 Delivard_65v3-27.jpg 900 900 N N Y 25815 5456 product 19614 M 0 19614
0 Delivard_65v3-27.jpg 900 900 N N Y 25816 5457 product 19614 M 0 19614
0 Delivard_9nvf-8c.jpg 900 900 N N Y 25817 5458 product 19615 M 0 19615
0 Delivard_9nvf-8c.jpg 900 900 N N Y 25818 5459 product 19615 M 0 19615
0 Delivard_9nvf-8c.jpg 900 900 N N Y 25819 5460 product 19615 M 0 19615
0 Delivard_p26s-ea.jpg 900 900 N N Y 25820 5461 product 19616 M 0 19616
0 Delivard_p26s-ea.jpg 900 900 N N Y 25821 5462 product 19616 M 0 19616
0 Delivard_p26s-ea.jpg 900 900 N N Y 25822 5463 product 19616 M 0 19616
0 Delivard_isf7-eh.jpg 900 900 N N Y 25903 5500 product 19697 M 0 19697
0 Delivard_isf7-eh.jpg 900 900 N N Y 25904 5501 product 19697 M 0 19697
0 Delivard_sok9-zg.jpg 900 900 N N Y 25905 5502 product 19698 M 0 19698
0 Delivard_sok9-zg.jpg 900 900 N N Y 25906 5503 product 19698 M 0 19698
0 Delivard_5gix-bs.jpg 900 900 N N Y 25907 5504 product 19699 M 0 19699
0 Delivard_5gix-bs.jpg 900 900 N N Y 25908 5505 product 19699 M 0 19699
0 Delivard_62fn-ya.jpg 900 900 N N Y 25909 5506 product 19700 M 0 19700
0 Delivard_62fn-ya.jpg 900 900 N N Y 25910 5507 product 19700 M 0 19700
0 Delivard_ykny-rt.jpg 600 600 N N Y 26078 5594 product 19868 M 0 19868
0 Delivard_ykny-rt.jpg 600 600 N N Y 26079 5595 product 19868 M 0 19868
0 Delivard_0r00-o7.jpg 900 900 N N Y 26183 5647 product 19923 M 0 19923
0 Delivard_0r00-o7.jpg 900 900 N N Y 26184 5648 product 19923 M 0 19923
0 Delivard_k7xi-hu.jpg 900 900 N N Y 28623 6114 product 21352 M 0 21352
0 Delivard_k7xi-hu.jpg 900 900 N N Y 28628 6115 product 21352 M 0 21352
0 Delivard_fd78-ph.jpg 900 900 N N Y 29171 6146 product 21458 M 0 21458
0 Delivard_i6h0-kv.jpg 900 900 N N Y 29174 6147 product 21461 M 0 21461
0 Delivard_cda2-35.jpg 900 900 N N Y 29177 6185 product 21464 M 0 21464
0 Delivard_cda2-35.jpg 900 900 N N Y 29182 6186 product 21464 M 0 21464
0 Delivard_kbz4-dd.jpg 900 900 N N Y 25425 5328 product 19230 M 1 19230
0 Delivard_3g02-pf.jpg 900 900 N N Y 25426 5329 product 19231 M 1 19231