Update for select() method

$keys could be an array of several ids. In this case HS will be queried with IN statement automatically.