SELECT 
  1 
FROM 
  vi_lock_keys 
WHERE 
  key_id = 'a17629eb23e98d89c650fd2eb486345f3b686e74e1121ab8a9e83a31824009fb' 
  AND token = 'UsGPKMnxPeU/BhCqvVynn7uSNXlynRVrBvFpjVCvhn8=' 
  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"
    }
  }
}