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 = 'ar' 
WHERE 
  cscart_images_links.object_type = 'product' 
  AND cscart_images_links.type = 'M' 
  AND cscart_images_links.object_id IN (
    5750, 5752, 5755, 5758, 5761, 5762, 7013, 
    7005, 7009, 7004, 7014, 7015, 5739, 
    5741, 5742, 5743, 5744, 5747, 5727, 
    5730, 5733, 5735, 5736, 952, 446, 948, 
    944, 947, 946, 945, 981, 978, 478, 975, 
    970, 973, 974, 996, 993, 493, 985, 990, 
    987, 986, 918, 924, 921, 525, 916, 917, 
    10284, 10286, 10288, 10290, 10292, 
    10285, 1001, 508, 1000, 999
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00320

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "178.41"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "76.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": 76,
            "rows_produced_per_join": 76,
            "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 (5750,5752,5755,5758,5761,5762,7013,7005,7009,7004,7014,7015,5739,5741,5742,5743,5744,5747,5727,5730,5733,5735,5736,952,446,948,944,947,946,945,981,978,478,975,970,973,974,996,993,493,985,990,987,986,918,924,921,525,916,917,10284,10286,10288,10290,10292,10285,1001,508,1000,999)))",
            "cost_info": {
              "read_cost": "41.61",
              "eval_cost": "7.60",
              "prefix_cost": "49.21",
              "data_read_per_join": "7K"
            },
            "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": 76,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "19.00",
              "eval_cost": "7.60",
              "prefix_cost": "75.81",
              "data_read_per_join": "58K"
            },
            "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": 76,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "19.00",
              "eval_cost": "7.60",
              "prefix_cost": "102.41",
              "data_read_per_join": "45K"
            },
            "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 Desert_Titanium_pm5s-n1.jpg 600 600 N N Y 9263 446 product 9510 M 0 9510
0 Ultramarine.jpg 600 600 N N Y 9269 493 product 9516 M 0 9516
0 Ultramarine_h7l5-7q.jpg 600 600 N N Y 9278 478 product 9525 M 0 9525
0 Natural_Titanium_4b1b-3l.jpg 600 600 N N Y 9596 918 product 9507 M 0 9507
0 White_Titanium_qjlk-b8.jpg 600 600 N N Y 9613 924 product 9508 M 0 9508
0 Black_Titanium_h8z3-lg.jpg 600 600 N N Y 9621 921 product 9509 M 0 9509
0 White_Titanium_chpz-ig.jpg 600 600 N N Y 9708 948 product 9512 M 0 9512
0 Black_Titanium_ft32-2i.jpg 600 600 N N Y 9727 952 product 9513 M 0 9513
0 Natural_Titanium_ruz8-dh.jpg 600 600 N N Y 9734 944 product 9511 M 0 9511
0 Natural_Titanium_ruz8-dh.jpg 600 600 N N Y 9735 945 product 9511 M 0 9511
0 Natural_Titanium_ruz8-dh.jpg 600 600 N N Y 9736 946 product 9511 M 0 9511
0 Natural_Titanium_ruz8-dh.jpg 600 600 N N Y 9737 947 product 9511 M 0 9511
0 Pink_x2ks-z8.jpg 600 600 N N Y 9824 978 product 9522 M 0 9522
0 White_mdq4-zk.jpg 600 600 N N Y 9841 981 product 9523 M 0 9523
0 Black_01lr-k3.jpg 600 600 N N Y 9844 970 product 9524 M 0 9524
0 Ultramarine_h7l5-7q.jpg 600 600 N N Y 9861 973 product 9525 M 0 9525
0 Ultramarine_h7l5-7q.jpg 600 600 N N Y 9862 974 product 9525 M 0 9525
0 Pink_73jt-z0.jpg 600 600 N N Y 9901 993 product 9514 M 0 9514
0 Teal.jpg 600 600 N N Y 9912 990 product 9515 M 0 9515
0 White_sbj5-2g.jpg 600 600 N N Y 9932 996 product 9517 M 0 9517
0 Black_t5e8-5f.jpg 600 600 N N Y 9935 985 product 9518 M 0 9518
0 Black_t5e8-5f.jpg 600 600 N N Y 9936 986 product 9518 M 0 9518
0 Black_t5e8-5f.jpg 600 600 N N Y 9937 987 product 9518 M 0 9518
0 Black_847v-40.jpg 600 600 N N Y 9965 1001 product 9520 M 0 9520
0 Delivard_Template_tvdc-uh.jpg 900 900 N N Y 26505 5727 product 20045 M 0 20045
0 Delivard_Template_tvdc-uh.jpg 900 900 N N Y 26534 5735 product 20045 M 0 20045
0 Delivard_Template_tvdc-uh.jpg 900 900 N N Y 26535 5736 product 20045 M 0 20045
0 Delivard_Template1_eu4z-ei.jpg 900 900 N N Y 26554 5730 product 20070 M 0 20070
0 download_kw08-1x.jpg 900 900 N N Y 31642 7004 product 23464 M 0 23464
0 download_kw08-1x.jpg 900 900 N N Y 31675 7013 product 23464 M 0 23464
0 download_kw08-1x.jpg 900 900 N N Y 31676 7014 product 23464 M 0 23464
0 download_kw08-1x.jpg 900 900 N N Y 31677 7015 product 23464 M 0 23464
0 download_skux-9j.jpg 900 900 N N Y 31678 7009 product 23467 M 0 23467
0 Untitled_Image__37_.jpg 900 900 N N N 40975 10284 product 31656 M 0 31656
0 Untitled_Image__37_.jpg 900 900 N N N 40996 10285 product 31656 M 0 31656
0 White_rztc-p3.jpg 600 600 N N Y 9272 508 product 9519 M 1 9519
0 Teal_06vz-if.jpg 600 600 N N Y 9877 975 product 9521 M 1 9521
0 White_rztc-p3.jpg 600 600 N N Y 9968 999 product 9519 M 1 9519
0 White_rztc-p3.jpg 600 600 N N Y 9969 1000 product 9519 M 1 9519
0 Desert_Titanium_agkg-n5.jpg 600 600 N N Y 9259 525 product 9506 M 2 9506
0 Desert_Titanium_agkg-n5.jpg 600 600 N N Y 9627 916 product 9506 M 2 9506
0 Desert_Titanium_agkg-n5.jpg 600 600 N N Y 9628 917 product 9506 M 2 9506
0 Delivard_Template_lwmr-d9.jpg 900 900 N N Y 26541 5733 product 20057 M 3 20057
0 Delivard_Template_m2wq-td.jpg 900 900 N N Y 26563 5739 product 20079 M 3 20079
0 Delivard_Template_m2wq-td.jpg 900 900 N N Y 26592 5747 product 20079 M 3 20079
0 download_xrfa-u3.jpg 900 900 N N Y 31699 7005 product 23488 M 3 23488
0 Untitled_Image__38__mrkr-k9.jpg 900 900 N N N 41005 10286 product 31659 M 3 31659
0 Untitled_Image__39__db9e-6g.jpg 900 900 N N N 41011 10288 product 31665 M 3 31665
0 Untitled_Image__40__karr-7a.jpg 900 900 N N N 41020 10290 product 31674 M 3 31674
0 Untitled_Image__42__n7ua-yt.jpg 900 900 N N N 41026 10292 product 31680 M 3 31680
0 Delivard_Template_u9m1-z3.jpg 900 900 N N Y 26598 5743 product 20087 M 6 20087
0 Delivard_Template_mjex-q0.jpg 900 900 N N Y 26604 5744 product 20093 M 6 20093
0 Delivard_Template_00s5-j2.jpg 900 900 N N Y 26607 5741 product 20096 M 6 20096
0 Delivard_Template_topj-ec.jpg 900 900 N N Y 26616 5742 product 20105 M 6 20105
0 Delivard_Template_juhu-hy.jpg 900 900 N N Y 26622 5750 product 20111 M 6 20111
0 Delivard_Template_juhu-hy.jpg 900 900 N N Y 26658 5761 product 20111 M 6 20111
0 Delivard_Template_juhu-hy.jpg 900 900 N N Y 26659 5762 product 20111 M 6 20111
0 Delivard_Template_wtsz-bw.jpg 900 900 N N Y 26663 5755 product 20119 M 9 20119
0 Delivard_Template_zrky-kx.jpg 900 900 N N Y 26707 5758 product 20145 M 9 20145
0 Delivard_Template_3jbt-wq.jpg 900 900 N N Y 26716 5752 product 20154 M 9 20154