SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a6aca1cdf3ad8312aaf2396edec4bafc570140a1262cb9f6dc34219d1b5a790b' 
  AND token = 'NZOXfcbenUIZMz6EnGNbvUsYoHbwXfgL5axk1hVK9gM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}