SELECT 
  1 
FROM 
  q_lock_keys 
WHERE 
  key_id = '8f96e252631cbd118d10c1c624b6791be22b767dc3c5339091a6976f9d6c047c' 
  AND token = 'Rshd7LuWIuthgfr8Uh3Y5Zu2fJ8wXLDwt4ZB4gEmAVw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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