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 (
    3077, 3074, 3075, 3078, 3076, 3022, 3021, 
    3019, 3020, 3018
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00042

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "24.01"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "10.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": 10,
            "rows_produced_per_join": 10,
            "filtered": "100.00",
            "index_condition": "((`shoptheindependents_com`.`cscart_images_links`.`object_type` = 'product') and (`shoptheindependents_com`.`cscart_images_links`.`type` = 'M') and (`shoptheindependents_com`.`cscart_images_links`.`object_id` in (3077,3074,3075,3078,3076,3022,3021,3019,3020,3018)))",
            "cost_info": {
              "read_cost": "6.01",
              "eval_cost": "1.00",
              "prefix_cost": "7.01",
              "data_read_per_join": "960"
            },
            "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": [
              "shoptheindependents_com.cscart_images_links.detailed_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 10,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "2.50",
              "eval_cost": "1.00",
              "prefix_cost": "10.51",
              "data_read_per_join": "7K"
            },
            "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": [
              "shoptheindependents_com.cscart_images.image_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 10,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "2.50",
              "eval_cost": "1.00",
              "prefix_cost": "14.01",
              "data_read_per_join": "5K"
            },
            "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 Screenshot2024-11-18at8.14.58AM_wx74-2o.png 1268 1702 N 21469 3018 product 16795 M 0 16795
0 Screenshot2024-11-17at7.22.18PM_9903-ol.png 1274 1682 N 21482 3019 product 16808 M 0 Black Asher Jacket 16808
0 Screenshot2024-11-17at7.22.18PM_qo39-jp.png 1274 1682 N 21495 3020 product 16821 M 0 Black Asher Jacket 16821
0 Screenshot2024-11-17at7.22.18PM_w5ha-pf.png 1274 1682 N 21508 3021 product 16834 M 0 Black Asher Jacket 16834
0 Screenshot2024-11-17at7.22.18PM_sbq5-ze.png 1274 1682 N 21521 3022 product 16847 M 0 Black Asher Jacket 16847
0 Screenshot_2024-09-06_at_6.54.42_PM_qjpi-6v.png 1488 1494 N 21834 3074 product 17162 M 0 17162
0 Screenshot_2024-09-06_at_6.56.05_PM_wyo0-le.png 1482 1494 N 21843 3075 product 17171 M 0 17171
0 Screenshot_2024-09-06_at_6.56.05_PM_jjlc-vz.png 1482 1494 N 21852 3076 product 17180 M 0 17180
0 Screenshot_2024-09-06_at_6.55.44_PM_7ad23afd-d2cd-4a02-ba52-1981eab3e53f_jzil-xx.png 1482 1492 N 21861 3077 product 17189 M 0 17189
0 Screenshot_2024-09-06_at_6.55.44_PM_7ad23afd-d2cd-4a02-ba52-1981eab3e53f_i5q8-kb.png 1482 1492 N 21870 3078 product 17198 M 0 17198