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