SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9a319bcc82d268c6df0760b104ff249419f92e6f951929ba775a7b0fa89bd85e' 
  AND token = 'uJMpTlZkJEqn48Xpc5UfZGBAZ7tIb2J5tfZ3bKhq8Kw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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