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 = 'ro' 
WHERE 
  cscart_images_links.object_type = 'product' 
  AND cscart_images_links.type = 'M' 
  AND cscart_images_links.object_id IN (
    687122, 480529, 1133394, 1108257, 1114057, 
    612918, 431479, 1108259, 1108324, 
    1108375, 1192887, 1108255, 698147, 
    1005477, 1005469, 600012, 696950, 
    695183, 621062, 620876, 697432, 621045, 
    620921, 620902, 600132, 697717, 600044, 
    614824, 621019, 600112, 697903, 992455, 
    600286, 991897, 621108, 1000097, 1083988, 
    999893, 1006365, 1123986, 1282930, 
    1108822, 1158435, 1108819, 1108820, 
    1153203, 1282939, 1283561, 1283295, 
    1283299, 1129290, 1590985, 1228395, 
    1707787, 1181767, 1167142
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00878

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "296.41"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "56.00"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_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": 56,
            "rows_produced_per_join": 56,
            "filtered": "100.00",
            "index_condition": "((`maniamall_cscart`.`cscart_images_links`.`object_type` = 'product') and (`maniamall_cscart`.`cscart_images_links`.`type` = 'M') and (`maniamall_cscart`.`cscart_images_links`.`object_id` in (687122,480529,1133394,1108257,1114057,612918,431479,1108259,1108324,1108375,1192887,1108255,698147,1005477,1005469,600012,696950,695183,621062,620876,697432,621045,620921,620902,600132,697717,600044,614824,621019,600112,697903,992455,600286,991897,621108,1000097,1083988,999893,1006365,1123986,1282930,1108822,1158435,1108819,1108820,1153203,1282939,1283561,1283295,1283299,1129290,1590985,1228395,1707787,1181767,1167142)))",
            "cost_info": {
              "read_cost": "111.74",
              "eval_cost": "5.60",
              "prefix_cost": "117.34",
              "data_read_per_join": "5K"
            },
            "used_columns": [
              "pair_id",
              "object_id",
              "object_type",
              "image_id",
              "detailed_id",
              "type",
              "position"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_images",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "image_id"
            ],
            "key_length": "3",
            "ref": [
              "maniamall_cscart.cscart_images_links.image_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 56,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "55.96",
              "eval_cost": "5.60",
              "prefix_cost": "178.90",
              "data_read_per_join": "42K"
            },
            "used_columns": [
              "image_id",
              "image_path",
              "image_x",
              "image_y"
            ],
            "attached_condition": "<if>(is_not_null_compl(cscart_images), (`maniamall_cscart`.`cscart_images_links`.`image_id` = `maniamall_cscart`.`cscart_images`.`image_id`), true)"
          }
        },
        {
          "table": {
            "table_name": "cscart_common_descriptions",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "object_id",
              "lang_code",
              "object_holder"
            ],
            "key_length": "107",
            "ref": [
              "maniamall_cscart.cscart_images.image_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 56,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "55.91",
              "eval_cost": "5.60",
              "prefix_cost": "240.41",
              "data_read_per_join": "33K"
            },
            "used_columns": [
              "object_id",
              "description",
              "lang_code",
              "object_holder"
            ],
            "attached_condition": "<if>(is_not_null_compl(cscart_common_descriptions), (`maniamall_cscart`.`cscart_common_descriptions`.`object_id` = `maniamall_cscart`.`cscart_images`.`image_id`), true)"
          }
        }
      ]
    }
  }
}

Result

pair_id object_id object_type image_id detailed_id type position image_path alt image_x image_y images_image_id
678254 431479 product 0 678491 M 0
944768 600012 product 0 945005 M 0
944844 600044 product 0 945081 M 0
944974 600112 product 0 945211 M 0
945007 600132 product 0 945244 M 0
945292 600286 product 0 945529 M 0
958823 612918 product 0 959060 M 0
961858 614824 product 0 962095 M 0
975024 620876 product 0 975261 M 0
975073 620902 product 0 975310 M 0
975105 620921 product 0 975342 M 0
975261 621019 product 0 975498 M 0
975304 621045 product 0 975541 M 0
975340 621062 product 0 975577 M 0
975421 621108 product 0 975658 M 0
1080520 687122 product 0 1080757 M 0
1092685 695183 product 0 1092922 M 0
1094589 696950 product 0 1094826 M 0
1095316 697432 product 0 1095553 M 0
1095808 697717 product 0 1096045 M 0
1096105 697903 product 0 1096342 M 0
1096534 698147 product 0 1096771 M 0
1540592 991897 product 0 1540829 M 0
1541494 992455 product 0 1541731 M 0
1549941 999893 product 0 1550178 M 0
1550145 1000097 product 0 1550382 M 0
1555548 1005469 product 0 1555785 M 0
1555556 1005477 product 0 1555793 M 0
1556444 1006365 product 0 1556681 M 0
1690609 1083988 product 0 1690847 M 0
1741446 1108255 product 0 1741685 M 0
1741451 1108257 product 0 1741690 M 0
1741454 1108259 product 0 1741693 M 0
1741571 1108324 product 0 1741810 M 0
1742347 1108819 product 0 1742586 M 0
1742348 1108820 product 0 1742587 M 0
1742350 1108822 product 0 1742589 M 0
1753520 1114057 product 0 1753759 M 0
1806831 1133394 product 0 1807081 M 0
1857054 1153203 product 0 1857306 M 0
1864781 1158435 product 0 1865033 M 0
1918018 1192887 product 0 1918270 M 0
2085733 1282930 product 0 2085985 M 0
2085986 1282939 product 0 2086238 M 0
2086001 1283295 product 0 2086253 M 0
2086005 1283299 product 0 2086257 M 0
2090101 1283561 product 0 2090353 M 0
2626822 1108375 product 0 2627075 M 0
2627110 1129290 product 0 2627363 M 0
2627494 1123986 product 0 2627747 M 0
7086309 480529 product 0 7086562 M 0