SELECT 
  1 
FROM 
  vi_lock_keys 
WHERE 
  key_id = 'eb904e4b2dbe7ebe232dcae6806e4453920f4ca72ab485ad35ce182a4c67077e' 
  AND token = 'WgzyjcxD3AeH/wDTMh0smp+RAkXSKoRiTrtRnrKJzEw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00008

JSON explain

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