Put conditions on search items, created a map for the query conditions and creative way to bind_param