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 (
    8663, 8664, 8665, 8666, 8779, 8781, 8782, 
    8562, 8563, 8564, 8565, 8627, 8631, 
    8692, 8657, 8658, 8659, 8660, 8689, 
    8690, 8691, 8619, 8621, 8918, 8624, 
    8625, 8766, 8763, 8760, 8838, 8840, 
    8936, 8939, 8941, 8943, 8910, 8911, 
    8731, 8733, 8736, 8916, 8917, 8655, 
    8656, 8568, 8685, 8601, 8931, 8932, 
    8667, 8668, 8935, 8776, 8777
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00358

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "131.76"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "55.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": 55,
            "rows_produced_per_join": 55,
            "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 (8663,8664,8665,8666,8779,8781,8782,8562,8563,8564,8565,8627,8631,8692,8657,8658,8659,8660,8689,8690,8691,8619,8621,8918,8624,8625,8766,8763,8760,8838,8840,8936,8939,8941,8943,8910,8911,8731,8733,8736,8916,8917,8655,8656,8568,8685,8601,8931,8932,8667,8668,8935,8776,8777)))",
            "cost_info": {
              "read_cost": "32.76",
              "eval_cost": "5.50",
              "prefix_cost": "38.26",
              "data_read_per_join": "5K"
            },
            "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": 55,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "13.75",
              "eval_cost": "5.50",
              "prefix_cost": "57.51",
              "data_read_per_join": "42K"
            },
            "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": 55,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "13.75",
              "eval_cost": "5.50",
              "prefix_cost": "76.76",
              "data_read_per_join": "32K"
            },
            "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 untitled_image_9kkh-uc.jpg 900 900 N N Y 36216 8562 product 27682 M 0 27682
0 untitled_image_t8kp-84.jpg 900 900 N N Y 36232 8568 product 27692 M 0 27692
0 Untitled_design_1qtk-gp.jpg 900 900 N N Y 36373 8601 product 27833 M 0 27833
0 untitled_image_ehlc-j5.jpg 900 900 N N Y 36452 8619 product 27912 M 0 27912
0 untitled_image_ehlc-j5.jpg 900 900 N N Y 36461 8621 product 27912 M 0 27912
0 untitled_image_0h4p-2k.jpg 900 900 N N Y 36466 8624 product 27916 M 0 27916
0 untitled_image_sd95-a7.jpg 900 900 N N Y 36476 8627 product 27926 M 0 27926
0 untitled_image_sd95-a7.jpg 900 900 N N Y 36487 8631 product 27926 M 0 27926
0 untitled_image_9q3n-qc.jpg 900 900 N N Y 36546 8655 product 27990 M 0 27990
0 untitled_image_adj6-tc.jpg 900 900 N N Y 36557 8658 product 27994 M 0 27994
0 untitled_image_ubbv-1l.jpg 900 900 N N Y 36570 8663 product 28006 M 0 28006
0 untitled_image_fhxg-mr.jpg 900 900 N N Y 36590 8667 product 28020 M 0 28020
0 untitled_image_t8kp-84.jpg 900 900 N N Y 36629 8685 product 27692 M 0 27692
0 untitled_image_msvl-c3.jpg 900 900 N N Y 36640 8689 product 28058 M 0 28058
0 untitled_image_zvtz-k6.jpg 900 900 N N Y 36818 8731 product 28167 M 0 28167
0 222059.jpg 900 900 N N Y 36899 8760 product 28235 M 0 28235
0 untitled_image_iuts-1o.jpg 900 900 N N Y 36948 8776 product 28280 M 0 28280
0 untitled_image_lu90-2p.jpg 900 900 N N Y 36960 8779 product 28289 M 0 28289
0 untitled_image_lu90-2p.jpg 900 900 N N Y 36970 8781 product 28289 M 0 28289
0 untitled_image_63zf-j9.jpg 900 900 N N Y 36972 8782 product 28292 M 0 28292
0 untitled_image_s9v5-13.jpg 900 900 N N Y 37142 8838 product 28457 M 0 28457
0 untitled_image_ywl8-vx.jpg 900 900 N N Y 37402 8910 product 28691 M 0 28691
0 untitled_image_9ulj-wj.jpg 900 900 N N Y 37410 8911 product 28697 M 0 28697
0 untitled_image_rzfl-a1.jpg 900 900 N N Y 37415 8916 product 28702 M 0 28702
0 untitled_image_2wpy-jl.jpg 900 900 N N Y 37421 8917 product 28705 M 0 28705
0 untitled_image_rmmd-nb.jpg 900 900 N N Y 37539 8941 product 28761 M 0 28761
0 untitled_image_mp2h-kl.jpg 900 900 N N Y 37540 8936 product 28762 M 0 28762
0 untitled_image_9a7z-xo.jpg 900 900 N N Y 37541 8939 product 28763 M 0 28763
0 untitled_image_cdbx-ey.jpg 900 900 N N Y 37543 8943 product 28765 M 0 28765
0 222062.jpg 900 900 N N Y 36911 8763 product 28243 M 1 28243
0 222062_igec-wr.jpg 900 900 N N Y 36915 8766 product 28247 M 1 28247
0 untitled_image_xpy5-0u.jpg 900 900 N N Y 37150 8840 product 28462 M 1 28462
0 untitled_image_rgl1-no.jpg 900 900 N N Y 36224 8564 product 27684 M 2 27684
0 untitled_image_eaha-dz.jpg 900 900 N N Y 36227 8565 product 27687 M 2 27687
0 untitled_image_bh0p-rq.jpg 900 900 N N Y 36472 8625 product 27922 M 2 27922
0 untitled_image_zcin-o6.jpg 900 900 N N Y 36550 8656 product 27992 M 2 27992
0 untitled_image_rhll-ac.jpg 900 900 N N Y 36562 8660 product 27998 M 2 27998
0 untitled_image_j6k0-ue.jpg 900 900 N N Y 36581 8666 product 28011 M 2 28011
0 untitled_image_hn43-3h.jpg 900 900 N N Y 36584 8665 product 28014 M 2 28014
0 untitled_image_6wnh-b4.jpg 900 900 N N Y 36586 8664 product 28016 M 2 28016
0 untitled_image_xh8f-lu.jpg 900 900 N N Y 36588 8657 product 28018 M 2 28018
0 untitled_image_c4ud-0j.jpg 900 900 N N Y 36594 8668 product 28022 M 2 28022
0 untitled_image_3yk1-hf.jpg 900 900 N N Y 36646 8691 product 28060 M 2 28060
0 untitled_image_ljfl-o9.jpg 900 900 N N Y 36648 8690 product 28062 M 2 28062
0 untitled_image_r921-5i.jpg 900 900 N N Y 36830 8733 product 28169 M 2 28169
0 untitled_image_r921-5i_9fqt-78.jpg 900 900 N N Y 36832 8736 product 28171 M 2 28171
0 untitled_image_raox-qk.jpg 900 900 N N Y 36226 8563 product 27686 M 3 27686
0 untitled_image_lgp1-wb.jpg 900 900 N N Y 36954 8777 product 28283 M 3 28283
0 untitled_image_0p06-1u.jpg 900 900 N N Y 36566 8659 product 28002 M 4 28002
0 untitled_image_sd95-a7_d7pv-46.jpg 900 900 N N Y 36652 8692 product 28064 M 4 28064
0 untitled_image_ehlc-j5_oy6u-zo.jpg 900 900 N N Y 37428 8918 product 28706 M 4 28706
0 untitled_image_k7gg-17.jpg 900 900 N N Y 37497 8935 product 28744 M 4 28744
0 Untitled_design_2j1t-nf_0kmm-w5.jpg 900 900 N N Y 37468 8931 product 28727 M 7 28727
0 Untitled_Image_8r42-en_tuax-b1.jpg 900 900 N N Y 37486 8932 product 28738 M 7 28738