SELECT 
  1 
FROM 
  vi_lock_keys 
WHERE 
  key_id = 'ed2a5bd0d218ea9bf38c87b22b86a96af82d033c3ba7ccdfaf3ad9be7c66521b' 
  AND token = '+A5jSXu7xfx+EdWGepwyAfF8um7UgGcgsSWESZEv/Z0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00009

JSON explain

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