SELECT 
  1 
FROM 
  q_lock_keys 
WHERE 
  key_id = '719265b177f8993427c9cd210db958142fd1c752b3472beab85ac60afbe0989f' 
  AND token = '2C2ieaj9SlxBOiMLwwcrIPV0NNDPGDXk9x2FxUI0ZPE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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