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 (
    614832, 1232975, 588096, 880671, 1088508, 
    697953, 796373, 591739, 612280, 1120145, 
    695183, 600012, 614835, 1302601, 590335, 
    866417, 589124, 696523, 593274, 1232966, 
    1232977, 696950, 621062, 596399, 588307, 
    1434961, 590366, 697334, 590358, 594343, 
    866380, 1233023, 562160, 694679, 595794, 
    589041
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00913

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "190.20"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "36.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": 36,
            "rows_produced_per_join": 36,
            "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 (614832,1232975,588096,880671,1088508,697953,796373,591739,612280,1120145,695183,600012,614835,1302601,590335,866417,589124,696523,593274,1232966,1232977,696950,621062,596399,588307,1434961,590366,697334,590358,594343,866380,1233023,562160,694679,595794,589041)))",
            "cost_info": {
              "read_cost": "71.83",
              "eval_cost": "3.60",
              "prefix_cost": "75.43",
              "data_read_per_join": "3K"
            },
            "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": 36,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "35.91",
              "eval_cost": "3.60",
              "prefix_cost": "114.94",
              "data_read_per_join": "27K"
            },
            "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": 36,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "35.66",
              "eval_cost": "3.60",
              "prefix_cost": "154.20",
              "data_read_per_join": "21K"
            },
            "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
928603 588096 product 0 928840 M 0
928855 588307 product 0 929092 M 0
929658 589041 product 0 929895 M 0
929754 589124 product 0 929991 M 0
931024 590335 product 0 931261 M 0
931046 590358 product 0 931283 M 0
931054 590366 product 0 931291 M 0
932505 591739 product 0 932742 M 0
934076 593274 product 0 934313 M 0
935200 594343 product 0 935437 M 0
936666 595794 product 0 936903 M 0
937301 596399 product 0 937538 M 0
944768 600012 product 0 945005 M 0
957817 612280 product 0 958054 M 0
961866 614832 product 0 962103 M 0
961870 614835 product 0 962107 M 0
975340 621062 product 0 975577 M 0
1091851 694679 product 0 1092088 M 0
1092685 695183 product 0 1092922 M 0
1093905 696523 product 0 1094142 M 0
1094589 696950 product 0 1094826 M 0
1095184 697334 product 0 1095421 M 0
1096191 697953 product 0 1096428 M 0
1215086 796373 product 0 1215323 M 0
1337482 866380 product 0 1337719 M 0
1337527 866417 product 0 1337764 M 0
1362929 880671 product 0 1363166 M 0
1697846 1088508 product 0 1698084 M 0
1770478 1120145 product 0 1770717 M 0
1994184 1232966 product 0 1994436 M 0
1994194 1232975 product 0 1994446 M 0
1994196 1232977 product 0 1994448 M 0
1994245 1233023 product 0 1994497 M 0
2119854 1302601 product 0 2120106 M 0
2581017 1434961 product 0 2581270 M 0