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 = 'ru' 
WHERE 
  cscart_images_links.object_type = 'product' 
  AND cscart_images_links.type = 'A' 
  AND cscart_images_links.object_id IN ('6', '4', '5', '3', '1', '2') 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00269

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "148.83"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "36.00"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_images_links",
            "access_type": "ALL",
            "possible_keys": [
              "object_id"
            ],
            "rows_examined_per_scan": 118,
            "rows_produced_per_join": 35,
            "filtered": "30.51",
            "cost_info": {
              "read_cost": "19.23",
              "eval_cost": "7.20",
              "prefix_cost": "26.43",
              "data_read_per_join": "3K"
            },
            "used_columns": [
              "pair_id",
              "object_id",
              "object_type",
              "image_id",
              "detailed_id",
              "type",
              "position"
            ],
            "attached_condition": "((`db_emaika1`.`cscart_images_links`.`object_type` = 'product') and (`db_emaika1`.`cscart_images_links`.`type` = 'A') and (`db_emaika1`.`cscart_images_links`.`object_id` in ('6','4','5','3','1','2')))"
          }
        },
        {
          "table": {
            "table_name": "cscart_images",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "image_id"
            ],
            "key_length": "4",
            "ref": [
              "db_emaika1.cscart_images_links.detailed_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 35,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "36.00",
              "eval_cost": "7.20",
              "prefix_cost": "69.63",
              "data_read_per_join": "27K"
            },
            "used_columns": [
              "image_id",
              "image_path",
              "image_x",
              "image_y",
              "is_high_res"
            ],
            "attached_condition": "<if>(is_not_null_compl(cscart_images), (`db_emaika1`.`cscart_images_links`.`detailed_id` = `db_emaika1`.`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": [
              "db_emaika1.cscart_images.image_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 35,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "36.00",
              "eval_cost": "7.20",
              "prefix_cost": "112.83",
              "data_read_per_join": "21K"
            },
            "used_columns": [
              "object_id",
              "description",
              "lang_code",
              "object_holder"
            ],
            "attached_condition": "<if>(is_not_null_compl(cscart_common_descriptions), (`db_emaika1`.`cscart_common_descriptions`.`object_id` = `db_emaika1`.`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
0 enzimnaya-004.jpg 927 900 N 94 1 product 1436 A 1 Энзимная варка одежды и ткани 1436
0 velvet_000.jpg 1046 900 N 95 2 product 1437 A 1 Крашение одежды по технологии Вельвет. 1437
0 odnotonnaya-2.jpg 900 900 N 201 6 product 1544 A 1 Однотонное крашение. 1544
0 enzimnaya-003.jpg 1029 900 N 93 1 product 1435 A 2 Энзимная варка одежды и ткани 1435
0 velvet_001.jpg 1055 900 N 97 2 product 1439 A 2 1439
0 4-vitravnaya-004.jpg 1271 1024 N 73 3 product 1415 A 3 Вытравная покраска одежды и ткани 1415
0 enzimnaya-002.jpg 1049 900 N 92 1 product 1434 A 3 Энзимная варка одежды и ткани 1434
0 velvet_003.jpg 1100 900 N 101 2 product 1443 A 3 1443
0 pigment_002.jpg 1106 900 N 132 4 product 1474 A 3 1474
0 ruchnaya_002.jpg 1094 900 N 152 5 product 1494 A 3 Технология крашения одежды и тканей "Ручная варка" 1494
0 velvet_004.jpg 942 900 N 103 2 product 1445 A 4 1445
0 enzimnaya-005.jpg 974 900 N 189 1 product 1532 A 4 ЭНЗИМНАЯ ВАРКА ОДЕЖДЫ. 1532
0 4-vitravnaya-002.jpg 1151 1024 N 71 3 product 1413 A 5 Вытравная покраска одежды и ткани 1413
0 velvet_005.jpg 904 900 N 105 2 product 1447 A 5 1447
0 pigment_003.jpg 1007 900 N 134 4 product 1476 A 5 1476
0 ruchnaya_003.jpg 1037 900 N 154 5 product 1496 A 5 Технология крашения одежды и тканей "Ручная варка" 1496
0 enzimnaya-006.jpg 900 900 N 190 1 product 1533 A 5 РАСШЛИХТОВКА ДЖИНСОВОЙ ТКАНИ. 1533
0 velvet_006.jpg 996 900 N 107 2 product 1449 A 6 1449
0 4-vitravnaya-003.jpg 1191 1024 N 72 3 product 1414 A 7 Вытравная покраска одежды и ткани 1414
0 velvet_007.jpg 1000 900 N 109 2 product 1451 A 7 1451
0 pigment_004.jpg 1013 900 N 136 4 product 1478 A 7 1478
0 ruchnaya_004.jpg 1114 900 N 156 5 product 1498 A 7 Технология крашения одежды и тканей "Ручная варка" 1498
0 velvet_008.jpg 971 900 N 111 2 product 1453 A 8 1453
0 velvet_009.jpg 988 900 N 113 2 product 1455 A 9 1455
0 pigment_005.jpg 1063 900 N 138 4 product 1480 A 9 1480
0 ruchnaya_005.jpg 1173 900 N 158 5 product 1500 A 9 Технология крашения одежды и тканей "Ручная варка" 1500
0 velvet_010.jpg 1017 900 N 115 2 product 1457 A 10 1457
0 velvet_011.jpg 1064 900 N 117 2 product 1459 A 11 1459
0 pigment_006.jpg 947 900 N 140 4 product 1482 A 11 1482
0 ruchnaya_006.jpg 1106 900 N 160 5 product 1502 A 11 Технология крашения одежды и тканей "Ручная варка" 1502
0 velvet_012.jpg 954 900 N 119 2 product 1461 A 12 Покраска одежды и тканей "Вельвет" 1461
0 pigment_007.jpg 989 900 N 142 4 product 1484 A 13 1484
0 ruchnaya_007.jpg 1113 900 N 162 5 product 1504 A 13 Технология крашения одежды и тканей "Ручная варка" 1504
0 velvet_013.jpg 1200 900 N 191 2 product 1534 A 13 Покраска одежды и тканей "Вельвет" 1534
0 velvet_014.jpg 893 900 N 192 2 product 1535 A 14 Покраска одежды и тканей "Вельвет" 1535
0 pigment_008.jpg 985 900 N 144 4 product 1486 A 15 1486
0 ruchnaya_008.jpg 1038 900 N 164 5 product 1506 A 15 Технология крашения одежды и тканей "Ручная варка" 1506
0 ruchnaya_009.jpg 1107 839 N 167 5 product 1510 A 16 1510
0 pigment_009.jpg 977 900 N 146 4 product 1488 A 17 1488
0 ruchnaya_010.jpg 979 863 N 168 5 product 1511 A 17 1511
0 ruchnaya_011.jpg 1009 840 N 169 5 product 1512 A 18 1512
0 pigment_010.jpg 667 900 N 148 4 product 1490 A 19 1490
0 ruchnaya_012.jpg 1051 900 N 170 5 product 1513 A 19 1513
0 ruchnaya_013.jpg 940 856 N 171 5 product 1514 A 20 1514
0 pigment_011.jpg 900 900 N 198 4 product 1541 A 20 Покраска ткани пигментная. 1541
0 ruchnaya_014.jpg 860 819 N 172 5 product 1515 A 21 1515
0 pigment_012.jpg 741 900 N 199 4 product 1542 A 21 Покраска майки методом пигмент. 1542
0 ruchnaya_015.jpg 972 900 N 173 5 product 1516 A 22 1516
0 ruchnaya_016.jpg 1074 864 N 174 5 product 1517 A 23 1517
0 ruchnaya_017.jpg 826 848 N 175 5 product 1518 A 24 1518
0 ruchnaya_018.jpg 973 871 N 176 5 product 1519 A 25 1519
0 ruchnaya_019.jpg 1074 852 N 177 5 product 1520 A 26 1520
0 ruchnaya_020.jpg 909 844 N 178 5 product 1521 A 27 1521
0 ruchnaya_021.jpg 909 856 N 179 5 product 1522 A 28 1522
0 ruchnaya_022.jpg 904 805 N 180 5 product 1523 A 29 1523
0 ruchnaya_023.jpg 947 825 N 181 5 product 1524 A 30 1524
0 ruchnaya_024.jpg 1138 900 N 182 5 product 1525 A 31 1525
0 ruchnaya_025.jpg 1032 868 N 183 5 product 1526 A 32 1526
0 ruchnaya_026.jpg 1014 852 N 184 5 product 1527 A 33 1527
0 ruchnaya_027.jpg 1011 864 N 185 5 product 1528 A 34 1528
0 ruchnaya_028.jpg 1000 881 N 186 5 product 1529 A 35 1529
0 ruchnaya_029.jpg 1018 877 N 187 5 product 1530 A 36 1530
0 ruchnaya_030.jpg 929 824 N 188 5 product 1531 A 37 1531
0 ruchnaya_031.jpg 900 1200 N 193 5 product 1536 A 38 Покраска одежды в ручную. 1536
0 ruchnaya_032.jpg 875 900 N 194 5 product 1537 A 39 Крашение одежды. 1537
0 ruchnaya_033.jpg 900 900 N 195 5 product 1538 A 40 Покраска маек. 1538
0 ruchnaya_034.jpg 900 900 N 196 5 product 1539 A 41 Покраска майки в ручную. 1539
0 ruchnaya_035.jpg 929 900 N 197 5 product 1540 A 42 Покраска майки ручным способом. 1540