SELECT 
  1 
FROM 
  vi_lock_keys 
WHERE 
  key_id = '3850781ef18eda557043345d2b275cdef1d10770cf08ee0a877722c0715cbd59' 
  AND token = 'be7ybimwoJymirbFRijwkGgmBcqfW1Bh73GvLurSLNU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00010

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}