SELECT 
  1 
FROM 
  q_lock_keys 
WHERE 
  key_id = 'ce26ea3cea9af1d577b9fda97eabbd1dcd2fc79d216611ff7ca34485c4637889' 
  AND token = 'xt+JwsMqJe0Lirgf3199Rm2yH2YrE9X4ocMmFEv5Y6Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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