SELECT 
  1 
FROM 
  q_lock_keys 
WHERE 
  key_id = 'e52132081f9006e4a9673f83db68ec24b8848d1f4f5da5894ecef92aac50d68e' 
  AND token = '+GdhuqwngGIVGqVbYmMuSapHPo9uc1WLLTXzsZUPxT0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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