SELECT 
  1 
FROM 
  vi_lock_keys 
WHERE 
  key_id = '9ca6581d721aa5430686e6fc4e115323bb7c7970fa3879e8eb5acd7d61cbffbb' 
  AND token = 'gRBwrdPKom8445x/cot8hQLzxxyBFcDMxDAWUnZAoVc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00012

JSON explain

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