SELECT 
  1 
FROM 
  q_lock_keys 
WHERE 
  key_id = 'ceb1cf8462b3d499237cd9eba9acaa72306cc44ccb672632388659f4ba8a3dea' 
  AND token = 'uPzhz5nB/K52Y3gkqulGMzQIEEgR5WosI+5ExihmPrU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}