SELECT 
  1 
FROM 
  q_lock_keys 
WHERE 
  key_id = '1b6694e4dc0a0ecafa5c249918e82960ce0291700c269aa140dce15b59a0090a' 
  AND token = 'gzL6oVzIWZ+O5/4na9D+2g0kye5grHKyLIDdlRsBDCU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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