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 (
    '9933', '9934', '9935', '9936', '9937', 
    '9938', '9939', '9941', '9942', '9943', 
    '9944', '9945', '9946', '9947', '9948', 
    '9949'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00113

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "126.41"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "23.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": 23,
            "rows_produced_per_join": 23,
            "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 ('9933','9934','9935','9936','9937','9938','9939','9941','9942','9943','9944','9945','9946','9947','9948','9949')))",
            "cost_info": {
              "read_cost": "43.61",
              "eval_cost": "4.60",
              "prefix_cost": "48.21",
              "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": 23,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "23.00",
              "eval_cost": "4.60",
              "prefix_cost": "75.81",
              "data_read_per_join": "17K"
            },
            "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": 23,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "23.00",
              "eval_cost": "4.60",
              "prefix_cost": "103.41",
              "data_read_per_join": "13K"
            },
            "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 TS-12-1211_3.jpg 1500 1500 N 19664 9943 product 21626 M 0 21626
0 TS-12-1222B_3.jpg 1000 1000 N 19665 9944 product 21627 M 0 21627
0 compass_2_black_1.jpg 764 764 N 19666 9945 product 21628 M 0 21628
0 71WxmPkV-AL._SX679_.jpg 679 679 N 19668 9946 product 21630 M 0 21630
0 e5.jpg 1500 1500 N 19669 9947 product 21631 M 0 21631
0 TS-12-1433_LS.jpg 800 800 N 19670 9948 product 21632 M 0 21632
0 TS-12-1436_LS.jpg 800 800 N 19671 9949 product 21633 M 0 21633
0 THL-TSR356MIN_1.jpg 800 800 N 20754 9933 product 22716 M 0 22716
0 THL-TSR375DSH_LS.jpg 800 800 N 20755 9934 product 22717 M 0 22717
0 THL-TSR375MIN_LS.jpg 800 800 N 20756 9935 product 22718 M 0 22718
0 THL-TSS313_1.jpg 800 800 N 20757 9936 product 22719 M 0 22719
0 THL-TSS315_1_f0dd0680-309a-41f2-be44-472a5ef0c3db.jpg 800 800 N 20758 9937 product 22720 M 0 22720
0 THL-TSSB316_1.jpg 800 800 N 20759 9938 product 22721 M 0 22721
0 THL-TSTB334DSH_LS.jpg 800 800 N 20760 9939 product 22722 M 0 22722
0 THL-TVIR-116-BLK_1.jpg 910 1279 N 20762 9941 product 22724 M 0 22724
0 Tapper_necklace_Green_Brass_1800x1800.jpg 1200 1800 N 20783 9942 product 22745 M 1 22745