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 = 'M' 
  AND q_images_links.object_id IN (
    '8439', '8440', '8441', '8442', '8443', 
    '8444', '8445', '8446', '8464', '8465', 
    '8466', '8467', '8468', '8469', '8470', 
    '8471'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00138

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "92.81"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "16.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": 16,
            "rows_produced_per_join": 16,
            "filtered": "100.00",
            "index_condition": "((`portal`.`q_images_links`.`object_type` = 'product') and (`portal`.`q_images_links`.`type` = 'M') and (`portal`.`q_images_links`.`object_id` in ('8439','8440','8441','8442','8443','8444','8445','8446','8464','8465','8466','8467','8468','8469','8470','8471')))",
            "cost_info": {
              "read_cost": "35.21",
              "eval_cost": "3.20",
              "prefix_cost": "38.41",
              "data_read_per_join": "1K"
            },
            "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": 16,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "16.00",
              "eval_cost": "3.20",
              "prefix_cost": "57.61",
              "data_read_per_join": "12K"
            },
            "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": 16,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "16.00",
              "eval_cost": "3.20",
              "prefix_cost": "76.81",
              "data_read_per_join": "9K"
            },
            "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 25159L-1-item_XL_39414117_153410302.jpg 600 600 N 17827 8439 product 19789 M 0 19789
0 25159L-2-item_XL_39414130_153410454.jpg 600 600 N 17830 8440 product 19792 M 0 19792
0 25159L-3-item_XL_39414144_153410583.jpg 600 600 N 17833 8441 product 19795 M 0 19795
0 25159L-4-item_XL_39414155_153410705.jpg 600 600 N 17836 8442 product 19798 M 0 19798
0 25159L-5-item_XL_39414167_153410803.jpg 600 600 N 17839 8443 product 19801 M 0 19801
0 25159L-6-item_XL_39414180_153410926.jpg 600 600 N 17842 8444 product 19804 M 0 19804
0 25159L-7-item_XL_39414191_153411057.jpg 600 600 N 17845 8445 product 19807 M 0 19807
0 25159L-8-item_XL_39414204_153411203.jpg 600 600 N 17848 8446 product 19810 M 0 19810
0 25157L-1-item_XL_39414077_153409877.jpg 600 600 N 17911 8464 product 19873 M 0 19873
0 25157L-3-item_XL_39414098_153410122.jpg 600 600 N 17914 8466 product 19876 M 0 19876
0 25157L-4-item_XL_39414108_153410239.jpg 600 600 N 17917 8467 product 19879 M 0 19879
0 25157L-5-item_XL_39414121_153410372.jpg 600 600 N 17920 8468 product 19882 M 0 19882
0 25157L-6-item_XL_39414134_153410520.jpg 600 600 N 17923 8469 product 19885 M 0 19885
0 25157L-7-item_XL_39414149_153410634.jpg 600 600 N 17926 8470 product 19888 M 0 19888
0 25157L-8-item_XL_39414161_153410760.jpg 600 600 N 17929 8471 product 19891 M 0 19891
0 item_XL_39414086_153409972.jpg 600 600 N 18653 8465 product 20615 M 0 20615