SELECT 
  1 
FROM 
  vi_lock_keys 
WHERE 
  key_id = '32ab56e21763cca93ed10f7fd449601c7879ccae15c91e40f7c547b6b6b4b7fc' 
  AND token = 'O/4UuyJH2X1eUgHN/ZVEGnxaOqgVBGc+gywLwpJtt3w=' 
  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"
    }
  }
}