SELECT 
  cscart_images_links.*, 
  cscart_images.image_path, 
  cscart_common_descriptions.description AS alt, 
  cscart_images.image_x, 
  cscart_images.image_y, 
  cscart_images.image_id AS images_image_id 
FROM 
  cscart_images_links 
  LEFT JOIN cscart_images ON cscart_images_links.image_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 = 'en' 
WHERE 
  cscart_images_links.object_type = 'product' 
  AND cscart_images_links.type = 'M' 
  AND cscart_images_links.object_id IN (
    '4078', '4779', '5006', '5108', '4103', 
    '4104', '3983', '4106', '4105', '3984', 
    '4107', '3981', '3985', '3982', '4034', 
    '4491', '5616', '5246', '6825', '6826', 
    '4996', '6827', '6136', '6814'
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00088

JSON explain

{
  "query_block": {
    "select_id": 1,
    "read_sorted_file": {
      "filesort": {
        "sort_key": "cscart_images_links.position, cscart_images_links.pair_id",
        "table": {
          "table_name": "cscart_images_links",
          "access_type": "range",
          "possible_keys": ["object_id"],
          "key": "object_id",
          "key_length": "81",
          "used_key_parts": ["object_id", "object_type", "type"],
          "rows": 24,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in ('4078','4779','5006','5108','4103','4104','3983','4106','4105','3984','4107','3981','3985','3982','4034','4491','5616','5246','6825','6826','4996','6827','6136','6814')"
        }
      }
    },
    "table": {
      "table_name": "cscart_images",
      "access_type": "eq_ref",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "4",
      "used_key_parts": ["image_id"],
      "ref": ["rfswire_cart.cscart_images_links.image_id"],
      "rows": 1,
      "filtered": 100
    },
    "table": {
      "table_name": "cscart_common_descriptions",
      "access_type": "eq_ref",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "107",
      "used_key_parts": ["object_id", "lang_code", "object_holder"],
      "ref": ["rfswire_cart.cscart_images.image_id", "const", "const"],
      "rows": 1,
      "filtered": 100,
      "attached_condition": "trigcond(cscart_common_descriptions.object_id = cscart_images.image_id and cscart_common_descriptions.object_holder = 'images' and cscart_common_descriptions.lang_code = 'en' and trigcond(cscart_images.image_id is not null))"
    }
  }
}

Result

pair_id object_id object_type image_id detailed_id type position image_path alt image_x image_y images_image_id
7812 3981 product 0 14857 M 0
7813 3982 product 0 14858 M 0
7814 3983 product 0 14859 M 0
7815 3984 product 0 14860 M 0
7816 3985 product 0 14861 M 0
7839 4034 product 0 14884 M 0
7877 4103 product 0 14922 M 0
7878 4104 product 0 14923 M 0
7879 4105 product 0 14924 M 0
7880 4106 product 0 14925 M 0
7881 4107 product 0 14926 M 0
8284 4779 product 0 15335 M 0
8377 4491 product 0 15428 M 0
9061 4996 product 0 16112 M 0
9155 4078 product 0 16206 M 0
9156 5006 product 0 16207 M 0
9499 5616 product 0 16558 M 0
9963 5108 product 0 17025 M 0
9971 6136 product 0 17033 M 0
10334 6825 product 0 17397 M 0
10335 6826 product 0 17398 M 0
10336 6827 product 0 17399 M 0
10522 6814 product 0 17585 M 0
10317 5246 product 0 17380 M 1