SELECT 
  cscart_attachments.*, 
  cscart_attachment_descriptions.description 
FROM 
  cscart_attachments 
  LEFT JOIN cscart_attachment_descriptions ON cscart_attachments.attachment_id = cscart_attachment_descriptions.attachment_id 
  AND lang_code = 'en' 
WHERE 
  object_type = 'product' 
  AND object_id = 64979 
  AND type = 'M' 
  AND (
    usergroup_ids = '' 
    OR FIND_IN_SET(0, usergroup_ids) 
    OR FIND_IN_SET(1, usergroup_ids)
  ) 
  AND status = 'A' 
ORDER BY 
  position

Query time 0.00068

JSON explain

{
  "query_block": {
    "select_id": 1,
    "read_sorted_file": {
      "filesort": {
        "sort_key": "cscart_attachments.position",
        "table": {
          "table_name": "cscart_attachments",
          "access_type": "ref",
          "possible_keys": ["object_type", "type"],
          "key": "object_type",
          "key_length": "95",
          "used_key_parts": ["object_type", "object_id"],
          "ref": ["const", "const"],
          "rows": 8,
          "filtered": 99.86836243,
          "index_condition": "cscart_attachments.object_type = 'product'",
          "attached_condition": "cscart_attachments.object_type <=> 'product' and cscart_attachments.object_id <=> 64979 and cscart_attachments.`type` = 'M' and (cscart_attachments.usergroup_ids = '' or find_in_set(0,cscart_attachments.usergroup_ids) or find_in_set(1,cscart_attachments.usergroup_ids)) and cscart_attachments.`status` = 'A'"
        }
      }
    },
    "table": {
      "table_name": "cscart_attachment_descriptions",
      "access_type": "eq_ref",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "9",
      "used_key_parts": ["attachment_id", "lang_code"],
      "ref": ["cscart_migrate.cscart_attachments.attachment_id", "const"],
      "rows": 1,
      "filtered": 100,
      "attached_condition": "trigcond(cscart_attachment_descriptions.lang_code = 'en')"
    }
  }
}

Result

attachment_id object_type object_id type position filename filesize usergroup_ids status category last_updated description
16419 product 64979 M 0 MKT-0025_-_Barn_Light_Electric_Finishes_-_REV_B.pdf 2418240 0 A 4 1604954265 Barn Light Electric Finishes
16420 product 64979 M 0 MKT-0021_-_Optional_Accessories_-_REV_F.pdf 11539937 0 A 4 1682099065 Optional Accessories
16421 product 64979 M 0 MKT-0019_-_LED_Gooseneck_Specifications_-_REV_A.pdf 508083 0 A 4 1572532295 LED Gooseneck Specifications
16422 product 64979 M 0 INS-0066_-_G36_Adjustable_LED_Gooseneck_-_Rev_A.pdf 185295 0 A 7 1572532516 G36 Adjustable LED Gooseneck Installation Instructions
16423 product 64979 M 0 INS-0068_-_G64_and_G65_LED_Gooseneck_-_Rev_B.pdf 219099 0 A 7 1572532473 LED G64 and G65 Gooseneck Installation Instructions
16528 product 64979 M 0 INS-0022_-_Universal_LED_Gooseneck_Fixture_-_Rev_F.pdf 118708 0 A 7 1598640273 LED Gooseneck Installation Instructions
16529 product 64979 M 0 SPS-0459_-_Marathon_Integrated_LED_Series_-_Rev_C.pdf 268658 0 A 1 1721060988 Marathon LED Gooseneck Light
21399 product 64979 M 0 Marathon_LED-Gooseneck-Revit-Files.zip 50744870 0 A 10 1775141539 Marathon LED Gooseneck Light