SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{3ff4355c1f6ab7e2b607695177135f17d1ba87eecf270ec513b64266b7f42e05}Chon{3ff4355c1f6ab7e2b607695177135f17d1ba87eecf270ec513b64266b7f42e05}' OR prCity = 'Chon' OR prZip = 'Chon' OR prStreet LIKE '{3ff4355c1f6ab7e2b607695177135f17d1ba87eecf270ec513b64266b7f42e05}Chon{3ff4355c1f6ab7e2b607695177135f17d1ba87eecf270ec513b64266b7f42e05}' OR prCountry = 'Chon') AND (prLocation LIKE '{3ff4355c1f6ab7e2b607695177135f17d1ba87eecf270ec513b64266b7f42e05}Buri{3ff4355c1f6ab7e2b607695177135f17d1ba87eecf270ec513b64266b7f42e05}' OR prCity = 'Buri' OR prZip = 'Buri' OR prStreet LIKE '{3ff4355c1f6ab7e2b607695177135f17d1ba87eecf270ec513b64266b7f42e05}Buri{3ff4355c1f6ab7e2b607695177135f17d1ba87eecf270ec513b64266b7f42e05}' OR prCountry = 'Buri') AND (prLocation LIKE '{3ff4355c1f6ab7e2b607695177135f17d1ba87eecf270ec513b64266b7f42e05}Thailand{3ff4355c1f6ab7e2b607695177135f17d1ba87eecf270ec513b64266b7f42e05}' OR prCity = 'Thailand' OR prZip = 'Thailand' OR prStreet LIKE '{3ff4355c1f6ab7e2b607695177135f17d1ba87eecf270ec513b64266b7f42e05}Thailand{3ff4355c1f6ab7e2b607695177135f17d1ba87eecf270ec513b64266b7f42e05}' OR prCountry = 'Thailand')