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 (
    '9533', '9534', '9535', '9536', '9537', 
    '9538', '9539', '9540', '9541', '9542', 
    '9543', '9544', '9545', '9546', '9547', 
    '9548'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00149

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "136.01"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "25.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": 25,
            "rows_produced_per_join": 25,
            "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 ('9533','9534','9535','9536','9537','9538','9539','9540','9541','9542','9543','9544','9545','9546','9547','9548')))",
            "cost_info": {
              "read_cost": "46.01",
              "eval_cost": "5.00",
              "prefix_cost": "51.01",
              "data_read_per_join": "2K"
            },
            "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": 25,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "25.00",
              "eval_cost": "5.00",
              "prefix_cost": "81.01",
              "data_read_per_join": "19K"
            },
            "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": 25,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "25.00",
              "eval_cost": "5.00",
              "prefix_cost": "111.01",
              "data_read_per_join": "14K"
            },
            "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 5193TSlI_8L._SL1000_.jpg 1000 1000 N 25877 9533 product 27839 A 1 27839
0 413V30WRN5L._SL1000_.jpg 1000 1000 N 25879 9534 product 27841 A 1 27841
0 71VjJPReLyL._SL1500_.jpg 544 1500 N 25882 9535 product 27844 A 1 27844
0 61O2UEHelSL._SL1500_.jpg 1500 962 N 25885 9536 product 27847 A 1 27847
0 incipio_feather_clear_case_for_iphone_xr.jpg 1200 1200 N 25889 9537 product 27851 A 1 27851
0 21336aeb9184f341f371acacf84c0d7af539e562_9f585a889f337848e76798e0f90bae12548c2370_2016_08_23_13_37_47_3747_69c0_optimized-1-600x590.jpg 600 590 N 25893 9540 product 27855 A 1 27855
0 image_25684_1_6814.jpg 68 68 N 25894 9541 product 27856 A 1 27856
0 71YRGQcomaL._SL1500_.jpg 1500 1500 N 25896 9542 product 27858 A 1 27858
0 71fdBFxpbOL._SL1500_.jpg 1500 1500 N 25899 9543 product 27861 A 1 27861
0 71C2GyhOX7L._SL1500_.jpg 1500 1500 N 25903 9544 product 27865 A 1 27865
0 FR2_1024x.jpeg 960 960 N 25906 9545 product 27868 A 1 27868
0 91el5PeQGxL._SL1500_.jpg 1500 1500 N 25910 9546 product 27872 A 1 27872
0 81s0Qx_bb7L._SL1500_.jpg 1500 1500 N 25912 9547 product 27874 A 1 27874
0 61dcGqoNrEL._SL1000_.jpg 1000 1000 N 25878 9533 product 27840 A 2 27840
0 51y-i7CwgfL._SL1000_.jpg 1000 1000 N 25880 9534 product 27842 A 2 27842
0 71527IgJKqL._SL1500_.jpg 544 1500 N 25883 9535 product 27845 A 2 27845
0 71U4LE_n8VL._SL1500_.jpg 1500 1434 N 25886 9536 product 27848 A 2 27848
0 incipio-octane-pure-iphone-xs-max-case-black-a-v2.jpg 560 560 N 25891 9538 product 27853 A 2 27853
0 1464707891000_IMG_637062.jpg 55 55 N 25895 9541 product 27857 A 2 27857
0 41hu3BitKDL._SL1000_.jpg 1000 1000 N 25897 9542 product 27859 A 2 27859
0 71PjUmYJuML._SL1500_.jpg 1500 1500 N 25900 9543 product 27862 A 2 27862
0 71pFOdrBAaL._SL1500_.jpg 1500 1500 N 25904 9544 product 27866 A 2 27866
0 81mfWjDPwZL._SL1500_.jpg 685 1500 N 25907 9545 product 27869 A 2 27869
0 91_kit5QqZL._SL1500_.jpg 1500 1500 N 25911 9546 product 27873 A 2 27873
0 91d9Gzaa70L._SL1500_.jpg 1500 1500 N 25913 9547 product 27875 A 2 27875
0 515EQgkuMuL._SL1000_.jpg 1000 1000 N 25881 9534 product 27843 A 3 27843
0 71_OuXidjZL._SL1500_.jpg 1500 920 N 25884 9535 product 27846 A 3 27846
0 71d6B0haBXL._SL1500_.jpg 787 1500 N 25887 9536 product 27849 A 3 27849
0 iphone-xs-octane-pure-black-angle-1.jpg 560 560 N 25892 9538 product 27854 A 3 27854
0 71jo7xLHFIL._SL1500_.jpg 1500 1500 N 25898 9542 product 27860 A 3 27860
0 71EcGjoWSEL._SL1500_.jpg 728 1500 N 25901 9543 product 27863 A 3 27863
0 819ANuaRPaL._SL1500_.jpg 1500 1164 N 25905 9544 product 27867 A 3 27867
0 4138hjVjRdL._SL1500_.jpg 213 1500 N 25908 9545 product 27870 A 3 27870
0 loading-large_labeled._CB192238949_.gif 80 104 N 25909 9545 product 27871 A 4 27871
0 iphone-xs-feather-clear-angle-1.jpg 560 560 N 25921 9539 product 27883 A 4 27883
0 iphone-xs-feather-clear-angle-4.jpg 560 560 N 25922 9539 product 27884 A 5 27884