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 = 'A' 
  AND cscart_images_links.object_id IN (9767, 65171, 10001) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00071

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "90.18"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "25.00"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_images_links",
            "access_type": "range",
            "possible_keys": [
              "object_id",
              "idx_object_type_type_position"
            ],
            "key": "object_id",
            "used_key_parts": [
              "object_id",
              "object_type",
              "type"
            ],
            "key_length": "81",
            "rows_examined_per_scan": 25,
            "rows_produced_per_join": 25,
            "filtered": "100.00",
            "index_condition": "((`cscart_db`.`cscart_images_links`.`object_type` = 'product') and (`cscart_db`.`cscart_images_links`.`type` = 'A') and (`cscart_db`.`cscart_images_links`.`object_id` in (9767,65171,10001)))",
            "cost_info": {
              "read_cost": "21.23",
              "eval_cost": "2.50",
              "prefix_cost": "23.73",
              "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": [
              "cscart_db.cscart_images_links.detailed_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 25,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "19.14",
              "eval_cost": "2.50",
              "prefix_cost": "45.37",
              "data_read_per_join": "19K"
            },
            "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": "107",
            "ref": [
              "cscart_db.cscart_images.image_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 25,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "17.31",
              "eval_cost": "2.50",
              "prefix_cost": "65.18",
              "data_read_per_join": "14K"
            },
            "used_columns": [
              "object_id",
              "description",
              "lang_code",
              "object_holder"
            ],
            "attached_condition": "<if>(is_not_null_compl(cscart_common_descriptions), (`cscart_db`.`cscart_common_descriptions`.`object_id` = `cscart_db`.`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 2__47__cdmm-ij.jpg 1500 1500 N 66138 10001 product 67490 A 1 67490
0 8908012692294-10_omrs-7f.jpg 3000 3000 N 176044 9767 product 177390 A 1 177390
0 3__41_.jpg 1500 1500 N 66139 10001 product 67491 A 2 67491
0 8908012692294-4_gnsy-6j.jpg 3000 3000 N 176045 9767 product 177391 A 2 177391
0 8908012692294-2_omf6-ll.jpg 3000 3000 N 176046 9767 product 177392 A 3 177392
0 8908012692294-6_ez12-7w.jpg 3000 3000 N 176047 9767 product 177393 A 4 177393
0 8908012692294-9_4pn3-p9.jpg 3000 3000 N 176048 9767 product 177394 A 5 177394
0 Flaxseed-Oil-Capsule-how-to-use.jpg 3000 3000 N 66140 10001 product 67492 A 6 67492
0 8908012692294-5_4n6x-sn.jpg 3000 3000 N 176049 9767 product 177395 A 6 177395
0 Flaxseed-Oil-Capsule-benefits-benefits1.jpg 3000 3000 N 66141 10001 product 67493 A 7 67493
0 8908012692294-3_srhz-mr.jpg 3000 3000 N 176050 9767 product 177396 A 7 177396
0 8908012692294-12_xdwo-u9.png 1213 743 N 176051 9767 product 177397 A 8 177397
0 8908012692294-7_z8o6-78.jpg 3000 3000 N 176052 9767 product 177398 A 9 177398
0 8908012692294-11_n00f-40.png 2000 2000 N 176053 9767 product 177399 A 10 177399
0 Copy_of_2_4opz-b9.png 2000 2000 N 214882 65171 product 216157 A 13 216157
0 Copy_of_5_x29z-iq.png 2000 2000 N 214883 65171 product 216158 A 14 216158
0 Copy_of_6_hbp3-uq.jpg 2000 2000 N 214884 65171 product 216159 A 15 216159
0 Copy_of_7_tiwx-g5.png 2000 2000 N 214885 65171 product 216160 A 16 216160
0 Copy_of_8_mta5-za.png 2000 2000 N 214886 65171 product 216161 A 17 216161
0 Copy_of_9_6t8b-0n.png 2000 2000 N 214887 65171 product 216162 A 18 216162
0 Copy_of_10_h035-kt.jpg 2000 2000 N 214888 65171 product 216163 A 19 216163
0 Copy_of_11_f5we-q6.jpg 2000 2000 N 214889 65171 product 216164 A 20 216164
0 Copy_of_4_c8in-mu.png 2000 2000 N 214890 65171 product 216165 A 21 216165
0 Copy_of_12_4hc1-2m.png 2000 2000 N 214891 65171 product 216166 A 22 216166
0 Copy_of_8_ckqa-tk.jpg 2480 3507 N 214892 65171 product 216167 A 23 216167