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 = 'variant_image' 
  AND cscart_images_links.type = 'V' 
  AND cscart_images_links.object_id IN (
    744, 
    743, 
    746, 
    745, 
    748, 
    747, 
    750, 
    749, 
    772, 
    771, 
    774, 
    773, 
    776, 
    775, 
    792, 
    791, 
    794, 
    793, 
    796, 
    795, 
    798, 
    797, 
    802, 
    801, 
    804, 
    803, 
    806, 
    805, 
    810, 
    809, 
    818, 
    817, 
    822, 
    821, 
    834, 
    833, 
    840, 
    839, 
    848, 
    847, 
    854, 
    853, 
    868, 
    867, 
    888, 
    887, 
    890, 
    889, 
    892, 
    891, 
    908, 
    907, 
    910, 
    909, 
    912, 
    911, 
    914, 
    913, 
    918, 
    917, 
    920, 
    919, 
    922, 
    921, 
    926, 
    925, 
    934, 
    933, 
    938, 
    937, 
    950, 
    949, 
    956, 
    955, 
    964, 
    963, 
    970, 
    969, 
    984, 
    983, 
    988, 
    987, 
    2547, 
    2546, 
    2549, 
    2548, 
    2551, 
    2550, 
    2553, 
    2552, 
    2555, 
    2554, 
    2557, 
    2556, 
    2576, 
    2575, 
    3251, 
    2574, 
    2572, 
    2573, 
    3252, 
    2564, 
    2565, 
    2562, 
    2563, 
    3253, 
    2571, 
    2570, 
    2569, 
    2568, 
    2567, 
    2566, 
    3430, 
    3431, 
    3432, 
    3433, 
    3434, 
    3435, 
    3436, 
    3437, 
    3438, 
    3439, 
    3440, 
    3441, 
    3442, 
    3443, 
    3444, 
    3445, 
    3446, 
    3447, 
    3448, 
    3449, 
    3450, 
    3451, 
    3452, 
    3453, 
    3454, 
    3455, 
    3456, 
    3457, 
    3458
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00378

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "1302.61"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "242.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": 242,
            "rows_produced_per_join": 242,
            "filtered": "100.00",
            "index_condition": "((`eshopuga_upgr_4122`.`cscart_images_links`.`object_type` = 'variant_image') and (`eshopuga_upgr_4122`.`cscart_images_links`.`type` = 'V') and (`eshopuga_upgr_4122`.`cscart_images_links`.`object_id` in (744,743,746,745,748,747,750,749,772,771,774,773,776,775,792,791,794,793,796,795,798,797,802,801,804,803,806,805,810,809,818,817,822,821,834,833,840,839,848,847,854,853,868,867,888,887,890,889,892,891,908,907,910,909,912,911,914,913,918,917,920,919,922,921,926,925,934,933,938,937,950,949,956,955,964,963,970,969,984,983,988,987,2547,2546,2549,2548,2551,2550,2553,2552,2555,2554,2557,2556,2576,2575,3251,2574,2572,2573,3252,2564,2565,2562,2563,3253,2571,2570,2569,2568,2567,2566,3430,3431,3432,3433,3434,3435,3436,3437,3438,3439,3440,3441,3442,3443,3444,3445,3446,3447,3448,3449,3450,3451,3452,3453,3454,3455,3456,3457,3458)))",
            "cost_info": {
              "read_cost": "431.41",
              "eval_cost": "48.40",
              "prefix_cost": "479.81",
              "data_read_per_join": "22K"
            },
            "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": [
              "eshopuga_upgr_4122.cscart_images_links.detailed_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 242,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "242.00",
              "eval_cost": "48.40",
              "prefix_cost": "770.21",
              "data_read_per_join": "185K"
            },
            "used_columns": [
              "image_id",
              "image_path",
              "image_x",
              "image_y",
              "is_high_res"
            ],
            "attached_condition": "<if>(is_not_null_compl(cscart_images), (`eshopuga_upgr_4122`.`cscart_images_links`.`detailed_id` = `eshopuga_upgr_4122`.`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": [
              "eshopuga_upgr_4122.cscart_images.image_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 242,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "242.00",
              "eval_cost": "48.40",
              "prefix_cost": "1060.61",
              "data_read_per_join": "143K"
            },
            "used_columns": [
              "object_id",
              "description",
              "lang_code",
              "object_holder"
            ],
            "attached_condition": "<if>(is_not_null_compl(cscart_common_descriptions), (`eshopuga_upgr_4122`.`cscart_common_descriptions`.`object_id` = `eshopuga_upgr_4122`.`cscart_images`.`image_id`), true)"
          }
        }
      ]
    }
  }
}

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
3061 2943 2562 variant_image 0 V 0
3062 2944 2563 variant_image 0 V 0
3063 2945 2564 variant_image 0 V 0
3064 2946 2565 variant_image 0 V 0
3065 2947 2566 variant_image 0 V 0
3066 2948 2567 variant_image 0 V 0
3067 2949 2568 variant_image 0 V 0
3068 2950 2569 variant_image 0 V 0
3069 2951 2570 variant_image 0 V 0
3070 2952 2571 variant_image 0 V 0
3071 2953 2572 variant_image 0 V 0
3072 2954 2573 variant_image 0 V 0
3073 2955 2574 variant_image 0 V 0
3470 3352 3454 variant_image 0 V 0
3471 3353 3455 variant_image 0 V 0
3472 3354 3456 variant_image 0 V 0
3473 3355 3457 variant_image 0 V 0
3474 3356 3458 variant_image 0 V 0