SELECT 
  1 
FROM 
  vi_lock_keys 
WHERE 
  key_id = 'e811ff15eb5ae9e296b6dee883c58f100a7ec3c2d2887779297b62937f2c42bc' 
  AND token = 'BxeLyJ4xYvufzJa5Bq4SkQVBfVtaurwlVn9fb1dz1w4=' 
  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"
    }
  }
}