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 (
    1434961, 697334, 596399, 1232966, 696523, 
    1232977, 590358, 621062, 562160, 694679, 
    1233023, 866380, 594343, 595794, 590366, 
    589041, 589592, 1232921, 588454, 621081, 
    591502, 593383, 589074, 697684, 696912, 
    590611, 622223, 590364, 991893, 791890, 
    992022, 1066947, 698251, 1025473, 
    697198, 822677, 695177, 590369, 596104, 
    1232947, 1233001, 1072699, 589366, 
    866379, 589374, 615074, 1232999, 591037, 
    620876, 1026578, 589721, 590368, 1232936, 
    1233004, 695006, 698264, 621013, 1067578, 
    1779541, 697432, 620902, 1233040, 
    621045, 620921
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00628

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "336.43"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "64.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": 64,
            "rows_produced_per_join": 64,
            "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 (1434961,697334,596399,1232966,696523,1232977,590358,621062,562160,694679,1233023,866380,594343,595794,590366,589041,589592,1232921,588454,621081,591502,593383,589074,697684,696912,590611,622223,590364,991893,791890,992022,1066947,698251,1025473,697198,822677,695177,590369,596104,1232947,1233001,1072699,589366,866379,589374,615074,1232999,591037,620876,1026578,589721,590368,1232936,1233004,695006,698264,621013,1067578,1779541,697432,620902,1233040,621045,620921)))",
            "cost_info": {
              "read_cost": "125.66",
              "eval_cost": "6.40",
              "prefix_cost": "132.06",
              "data_read_per_join": "6K"
            },
            "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": 64,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "63.87",
              "eval_cost": "6.40",
              "prefix_cost": "202.34",
              "data_read_per_join": "49K"
            },
            "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": 64,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "63.70",
              "eval_cost": "6.40",
              "prefix_cost": "272.43",
              "data_read_per_join": "38K"
            },
            "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
885085 562160 product 0 885322 M 0
929013 588454 product 0 929250 M 0
929658 589041 product 0 929895 M 0
929699 589074 product 0 929936 M 0
930015 589366 product 0 930252 M 0
930023 589374 product 0 930260 M 0
930261 589592 product 0 930498 M 0
930396 589721 product 0 930633 M 0
931046 590358 product 0 931283 M 0
931052 590364 product 0 931289 M 0
931054 590366 product 0 931291 M 0
931056 590368 product 0 931293 M 0
931057 590369 product 0 931294 M 0
931332 590611 product 0 931569 M 0
931778 591037 product 0 932015 M 0
932256 591502 product 0 932493 M 0
934201 593383 product 0 934438 M 0
935200 594343 product 0 935437 M 0
936666 595794 product 0 936903 M 0
936994 596104 product 0 937231 M 0
937301 596399 product 0 937538 M 0
962280 615074 product 0 962517 M 0
975024 620876 product 0 975261 M 0
975073 620902 product 0 975310 M 0
975105 620921 product 0 975342 M 0
975247 621013 product 0 975484 M 0
975304 621045 product 0 975541 M 0
975340 621062 product 0 975577 M 0
975374 621081 product 0 975611 M 0
977676 622223 product 0 977913 M 0
1091851 694679 product 0 1092088 M 0
1092377 695006 product 0 1092614 M 0
1092675 695177 product 0 1092912 M 0
1093905 696523 product 0 1094142 M 0
1094528 696912 product 0 1094765 M 0
1094984 697198 product 0 1095221 M 0
1095184 697334 product 0 1095421 M 0
1095316 697432 product 0 1095553 M 0
1095762 697684 product 0 1095999 M 0
1096697 698251 product 0 1096934 M 0
1096715 698264 product 0 1096952 M 0
1209315 791890 product 0 1209552 M 0
1262217 822677 product 0 1262454 M 0
1337481 866379 product 0 1337718 M 0
1337482 866380 product 0 1337719 M 0
1540584 991893 product 0 1540821 M 0
1540781 992022 product 0 1541018 M 0
1580511 1025473 product 0 1580748 M 0
1581703 1026578 product 0 1581940 M 0
1649933 1066947 product 0 1650171 M 0
1650922 1067578 product 0 1651160 M 0
1657673 1072699 product 0 1657911 M 0
1994130 1232921 product 0 1994382 M 0
1994146 1232936 product 0 1994398 M 0
1994160 1232947 product 0 1994412 M 0
1994184 1232966 product 0 1994436 M 0
1994196 1232977 product 0 1994448 M 0
1994220 1232999 product 0 1994472 M 0
1994222 1233001 product 0 1994474 M 0
1994225 1233004 product 0 1994477 M 0
1994245 1233023 product 0 1994497 M 0
1994263 1233040 product 0 1994515 M 0
2581017 1434961 product 0 2581270 M 0
4164981 1779541 product 0 4165234 M 0