SELECT 
  q_images.*, 
  q_images_links.*, 
  q_common_descriptions.description AS alt, 
  q_images.image_id AS images_image_id 
FROM 
  q_images_links 
  LEFT JOIN q_images ON q_images_links.detailed_id = q_images.image_id 
  LEFT JOIN q_common_descriptions ON q_common_descriptions.object_id = q_images.image_id 
  AND q_common_descriptions.object_holder = 'images' 
  AND q_common_descriptions.lang_code = 'en' 
WHERE 
  q_images_links.object_type = 'product' 
  AND q_images_links.type = 'A' 
  AND q_images_links.object_id IN (
    '45784', '45785', '45787', '45811', 
    '45812', '45822', '45823', '45824', 
    '45825', '45826', '45830', '45714', 
    '45715', '45720', '45725', '45727', 
    '45733', '45746', '45749', '45756', 
    '45764', '45765', '45768'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00225

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "354.21"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "69.00"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "q_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": 69,
            "rows_produced_per_join": 69,
            "filtered": "100.00",
            "index_condition": "((`portal`.`q_images_links`.`object_type` = 'product') and (`portal`.`q_images_links`.`type` = 'A') and (`portal`.`q_images_links`.`object_id` in ('45784','45785','45787','45811','45812','45822','45823','45824','45825','45826','45830','45714','45715','45720','45725','45727','45733','45746','45749','45756','45764','45765','45768')))",
            "cost_info": {
              "read_cost": "105.81",
              "eval_cost": "13.80",
              "prefix_cost": "119.61",
              "data_read_per_join": "6K"
            },
            "used_columns": [
              "pair_id",
              "object_id",
              "object_type",
              "image_id",
              "detailed_id",
              "type",
              "position"
            ]
          }
        },
        {
          "table": {
            "table_name": "q_images",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "image_id"
            ],
            "key_length": "4",
            "ref": [
              "portal.q_images_links.detailed_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 69,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "69.00",
              "eval_cost": "13.80",
              "prefix_cost": "202.41",
              "data_read_per_join": "52K"
            },
            "used_columns": [
              "image_id",
              "image_path",
              "image_x",
              "image_y",
              "is_high_res"
            ],
            "attached_condition": "<if>(is_not_null_compl(q_images), (`portal`.`q_images_links`.`detailed_id` = `portal`.`q_images`.`image_id`), true)"
          }
        },
        {
          "table": {
            "table_name": "q_common_descriptions",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "object_id",
              "lang_code",
              "object_holder"
            ],
            "key_length": "107",
            "ref": [
              "portal.q_images.image_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 69,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "69.00",
              "eval_cost": "13.80",
              "prefix_cost": "285.21",
              "data_read_per_join": "40K"
            },
            "used_columns": [
              "object_id",
              "description",
              "lang_code",
              "object_holder"
            ],
            "attached_condition": "<if>(is_not_null_compl(q_common_descriptions), (`portal`.`q_common_descriptions`.`object_id` = `portal`.`q_images`.`image_id`), true)"
          }
        }
      ]
    }
  }
}

Result

image_id image_path image_x image_y is_high_res pair_id object_id object_type detailed_id type position alt images_image_id
0 67603-2.jpeg 275 183 N 72779 45746 product 74730 A 1 74730
0 71_NL-gxbvL._AC_SL1500_.jpg 1500 754 N 72827 45714 product 74778 A 1 74778
0 71fLyIlQWeL._SL1500_.jpg 1500 1013 N 73150 45715 product 75101 A 1 75101
0 58224-Bestway-41x58cm-Solar-heated-Multiple-SHOWER-For-Outdoor-Adventure-20L-Compact-16x23-Solar-Shower-with.jpg 800 800 N 73171 45784 product 75122 A 1 75122
0 Bestway-2-in-1-Single-1.85M-Aslepa-Air-Bed-6.jpg 800 800 N 73177 45785 product 75128 A 1 75128
0 41zWjFf5CZL._AC_.jpg 385 471 N 74097 45725 product 76040 A 1 76040
0 1875744427_w640_h640_naduvnoj-matras-krovat-bestway.jpg 500 500 N 74099 45727 product 76042 A 1 76042
0 20190307132536_bestway_pavillo_67617_grey.jpeg 1015 516 N 75208 45787 product 77151 A 1 77151
0 81yF90DnLrL._SL1500_.jpg 1500 1500 N 75293 45768 product 77236 A 1 77236
0 711YfE6GVKL._AC_SL1500_.jpg 826 1500 N 75323 45822 product 77266 A 1 77266
0 8149jdoJGbL._SL1500_.jpg 1500 1500 N 75329 45823 product 77272 A 1 77272
0 81YRFJ7q2hL._AC_SL1500_.jpg 1500 1159 N 75332 45825 product 77275 A 1 77275
0 67277-pvc-bestway-original-imaen2yedeadsem6.jpeg 832 806 N 75357 45720 product 77300 A 1 77300
0 34521449_9871862641.jpeg 2480 2480 N 75366 45733 product 77309 A 1 77309
0 Bestway-69013-1-59mx53-5cmx14cm-outdoor-camping.jpeg_640x640.jpeg 640 510 N 75422 45756 product 77365 A 1 77365
0 31cZFYrVt5L._AC_SY400_.jpg 437 370 N 75447 45765 product 77390 A 1 77390
0 81hPbNKiWNL._AC_SL1500_.jpg 1500 958 N 75468 45830 product 77411 A 1 77411
0 A10DJ1OE7dL._SL1500_.jpg 1000 1500 N 75484 45826 product 77427 A 1 77427
0 819uZcxIofL._UY741_.jpg 524 741 N 75496 45812 product 77439 A 1 77439
0 67496_168665_2.jpeg 920 920 N 78431 45749 product 80374 A 1 80374
0 67603-3.jpg 1500 1500 N 72780 45746 product 74731 A 2 74731
0 71fLyIlQWeL._AC_SL1500_.jpg 1500 651 N 72828 45714 product 74779 A 2 74779
0 A1HD6s_f9ZL._SL1500_.jpg 1500 1000 N 73151 45715 product 75102 A 2 75102
0 71DjRheWPlL._SL1500_.jpg 1000 1500 N 73172 45784 product 75123 A 2 75123
0 9cfbbf4a2954242b100abf113289b8f5.jpg 325 243 N 75209 45787 product 77152 A 2 77152
0 71SuNfWS_nL._SL1112_.jpg 1112 1074 N 75291 45768 product 77234 A 2 77234
0 71_6BBdfmjL._AC_SL1500_.jpg 1500 611 N 75324 45822 product 77267 A 2 77267
0 71UWz7GEN0L._AC_SL1500_.jpg 1320 1500 N 75333 45825 product 77276 A 2 77276
0 HTB1et6FKkOWBuNjSsppq6xPgpXaw.jpg 1000 1000 N 75423 45756 product 77366 A 2 77366
0 51qWCSuWCCL.jpg 500 500 N 75448 45765 product 77391 A 2 77391
0 A1LYmPu5kgL._AC_SL1500_.jpg 1500 829 N 75469 45830 product 77412 A 2 77412
0 71xgzhb3wML._SL1500_.jpg 1500 1120 N 75485 45826 product 77428 A 2 77428
0 67496_168665_3.jpeg 920 920 N 78432 45749 product 80375 A 2 80375
0 67603.jpg 1500 1000 N 72781 45746 product 74732 A 3 74732
0 71S_baHkh4L._AC_SL1500_.jpg 1500 417 N 72829 45714 product 74780 A 3 74780
0 81iP5Kec7nL._SL1500_.jpg 1500 1000 N 73173 45784 product 75124 A 3 75124
0 8718475707738_g_en_hd_2.jpg 1024 1024 N 75210 45787 product 77153 A 3 77153
0 71rE2yJQgWL._AC_SL1500_.jpg 1500 510 N 75334 45825 product 77277 A 3 77277
0 15d5cdba2832964da157ca9bc03eefa9.jpg 280 280 N 75443 45764 product 77386 A 3 77386
0 A10X-22M6IL._AC_SL1500_.jpg 1500 1000 N 75470 45830 product 77413 A 3 77413
0 71NpdCj06QL._SL1500_.jpg 1500 1000 N 75486 45826 product 77429 A 3 77429
0 67496_168665_4.jpeg 920 920 N 78433 45749 product 80376 A 3 80376
0 71k2rwuT0CL._AC_SL1500_.jpg 1500 608 N 72782 45746 product 74733 A 4 74733
0 71iScscPRtL._AC_SL1500_.jpg 1500 1134 N 72830 45714 product 74781 A 4 74781
0 61lPRbEkn4L._SL1001_.jpg 751 1001 N 73174 45784 product 75125 A 4 75125
0 1016057_8.jpeg 499 332 N 75211 45787 product 77154 A 4 77154
0 910_rLqpqSL._AC_SL1500_.jpg 1000 1500 N 75471 45830 product 77414 A 4 77414
0 81T5I-19oNL._SL1500_.jpg 1500 1000 N 75487 45826 product 77430 A 4 77430
0 91S1kEPKuXL._AC_SL1500_.jpg 1500 646 N 72783 45746 product 74734 A 5 74734
0 A1HD6s_f9ZL._AC_SL1500_.jpg 1500 1000 N 72832 45714 product 74783 A 5 74783
0 71k2BDxHbTL._SL1500_.jpg 1060 1500 N 73175 45784 product 75126 A 5 75126
0 A1-F0iDAGgL._AC_SL1500_.jpg 1500 1000 N 75472 45830 product 77415 A 5 77415
0 91fIPXdcV2L._SL1500_.jpg 1500 1286 N 75488 45826 product 77431 A 5 77431
0 81P_PF3xrnL._AC_SL1500_.jpg 1500 1053 N 72784 45746 product 74735 A 6 74735
0 91fNqE8uvOL._AC_SL1500_.jpg 1500 1000 N 72831 45714 product 74782 A 6 74782
0 91J2kP-qujL._AC_SL1500_.jpg 1325 1500 N 75473 45830 product 77416 A 6 77416
0 71OdCQDqNiL._SL1500_.jpg 1060 1500 N 75489 45826 product 77432 A 6 77432
0 A1z9G8G-soL._AC_SL1500_.jpg 1500 1000 N 72786 45746 product 74737 A 7 74737
0 A14dGoMCB-L._AC_SL1500_.jpg 1500 1000 N 72826 45714 product 74777 A 7 74777
0 68046-Cultiva-X3-Tent-Pavillo-by-Bestway-p.jpg 1446 973 N 75503 45811 product 77446 A 7 77446
0 palatka-turisticheskaya-trehmestnaya-bestway-68046-cultiva-1-8h1-25-m-photo-d737.jpeg 500 500 N 75504 45811 product 77447 A 8 77447