SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '18f3da9aad56a9c09cdc174b0494fdf35d166ab699abeb1c0861a23b0a95d52e' 
  AND token = 'zYHcDyGjDyvWYf/Mk5mVGu6TK/1Nfe+JbK68eifzxY4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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