SELECT 
  1 
FROM 
  q_lock_keys 
WHERE 
  key_id = '328e5e3c6ae7ac170993fd664c58228512fdf22b9e683ecdbdc325518d0e14a7' 
  AND token = 'eILV60PJDq989PL6FXENN2qN43RZTIpaRFLphwvQJHY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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