SELECT 
  cscart_images.*, 
  cscart_images_links.*, 
  cscart_common_descriptions.description AS alt, 
  cscart_images.image_id AS images_image_id 
FROM 
  cscart_images_links 
  LEFT JOIN cscart_images ON cscart_images_links.detailed_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 (
    414376, 414377, 414378, 414379, 414380, 
    414381, 414382, 414383, 414384, 414385, 
    414386, 414387, 414388, 414514, 414516, 
    414517, 414518, 414519, 414520, 414521, 
    359744, 359746, 359740, 359742
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00143

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "139.21"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "24.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": 24,
            "rows_produced_per_join": 24,
            "filtered": "100.00",
            "index_condition": "((`webmarco`.`cscart_images_links`.`object_type` = 'product') and (`webmarco`.`cscart_images_links`.`type` = 'M') and (`webmarco`.`cscart_images_links`.`object_id` in (414376,414377,414378,414379,414380,414381,414382,414383,414384,414385,414386,414387,414388,414514,414516,414517,414518,414519,414520,414521,359744,359746,359740,359742)))",
            "cost_info": {
              "read_cost": "52.81",
              "eval_cost": "4.80",
              "prefix_cost": "57.61",
              "data_read_per_join": "2K"
            },
            "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": "4",
            "ref": [
              "webmarco.cscart_images_links.detailed_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 24,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "24.00",
              "eval_cost": "4.80",
              "prefix_cost": "86.41",
              "data_read_per_join": "18K"
            },
            "used_columns": [
              "image_id",
              "image_path",
              "image_x",
              "image_y",
              "is_high_res"
            ]
          }
        },
        {
          "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": "108",
            "ref": [
              "webmarco.cscart_images.image_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 24,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "24.00",
              "eval_cost": "4.80",
              "prefix_cost": "115.21",
              "data_read_per_join": "14K"
            },
            "used_columns": [
              "object_id",
              "description",
              "lang_code",
              "object_holder"
            ]
          }
        }
      ]
    }
  }
}

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 IMG_4663.JPG 3024 4032 N 2961093 359740 product 943851 M 0 943851
0 IMG_4662.JPG 3024 4032 N 2961100 359742 product 943853 M 0 943853
0 IMG_4797.JPG 3024 4032 N 2961104 359744 product 943859 M 0 943859
0 IMG_4797.JPG 3024 4032 N 2961112 359746 product 943859 M 0 943859
0 Untitled_design_-_2023-05-01T162127.866.png 600 600 N 3781837 414376 product 1492623 M 0 1492623
0 Untitled_design_-_2023-05-01T162127.866.png 600 600 N 3781851 414377 product 1492623 M 0 1492623
0 Untitled_design_-_2023-05-01T162127.866.png 600 600 N 3781852 414378 product 1492623 M 0 1492623
0 Untitled_design_-_2023-05-01T162127.866.png 600 600 N 3781853 414379 product 1492623 M 0 1492623
0 Untitled_design_-_2023-05-01T162127.866.png 600 600 N 3781854 414380 product 1492623 M 0 1492623
0 Untitled_design_-_2023-05-01T162127.866.png 600 600 N 3781855 414381 product 1492623 M 0 1492623
0 Untitled_design_-_2023-05-01T162127.866.png 600 600 N 3781856 414382 product 1492623 M 0 1492623
0 Untitled_design_-_2023-05-01T162127.866.png 600 600 N 3781857 414383 product 1492623 M 0 1492623
0 Untitled_design_-_2023-05-01T162127.866.png 600 600 N 3781858 414384 product 1492623 M 0 1492623
0 Untitled_design_-_2023-05-01T162127.866.png 600 600 N 3781859 414385 product 1492623 M 0 1492623
0 Untitled_design_-_2023-05-01T162127.866.png 600 600 N 3781860 414386 product 1492623 M 0 1492623
0 Untitled_design_-_2023-05-01T162127.866.png 600 600 N 3781861 414387 product 1492623 M 0 1492623
0 Untitled_design_-_2023-05-01T162127.866.png 600 600 N 3781862 414388 product 1492623 M 0 1492623
0 Untitled_design_-_2023-05-01T184856.624.png 600 600 N 3782096 414514 product 1492687 M 0 1492687
0 Untitled_design_-_2023-05-01T184856.624.png 600 600 N 3782112 414516 product 1492687 M 0 1492687
0 Untitled_design_-_2023-05-01T184856.624.png 600 600 N 3782113 414517 product 1492687 M 0 1492687
0 Untitled_design_-_2023-05-01T184856.624.png 600 600 N 3782114 414518 product 1492687 M 0 1492687
0 Untitled_design_-_2023-05-01T184856.624.png 600 600 N 3782115 414519 product 1492687 M 0 1492687
0 Untitled_design_-_2023-05-01T184856.624.png 600 600 N 3782116 414520 product 1492687 M 0 1492687
0 Untitled_design_-_2023-05-01T184856.624.png 600 600 N 3782117 414521 product 1492687 M 0 1492687