SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{185536cdf5f96c7033e35ab0e31b53be02831943c990ab23b81f411f4ca82ad6}Gerabronn{185536cdf5f96c7033e35ab0e31b53be02831943c990ab23b81f411f4ca82ad6}' OR prCity = 'Gerabronn' OR prZip = 'Gerabronn' OR prStreet LIKE '{185536cdf5f96c7033e35ab0e31b53be02831943c990ab23b81f411f4ca82ad6}Gerabronn{185536cdf5f96c7033e35ab0e31b53be02831943c990ab23b81f411f4ca82ad6}' OR prCountry = 'Gerabronn') AND (prLocation LIKE '{185536cdf5f96c7033e35ab0e31b53be02831943c990ab23b81f411f4ca82ad6}Württ{185536cdf5f96c7033e35ab0e31b53be02831943c990ab23b81f411f4ca82ad6}' OR prCity = 'Württ' OR prZip = 'Württ' OR prStreet LIKE '{185536cdf5f96c7033e35ab0e31b53be02831943c990ab23b81f411f4ca82ad6}Württ{185536cdf5f96c7033e35ab0e31b53be02831943c990ab23b81f411f4ca82ad6}' OR prCountry = 'Württ') AND (prLocation LIKE '{185536cdf5f96c7033e35ab0e31b53be02831943c990ab23b81f411f4ca82ad6}Germany{185536cdf5f96c7033e35ab0e31b53be02831943c990ab23b81f411f4ca82ad6}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{185536cdf5f96c7033e35ab0e31b53be02831943c990ab23b81f411f4ca82ad6}Germany{185536cdf5f96c7033e35ab0e31b53be02831943c990ab23b81f411f4ca82ad6}' OR prCountry = 'Germany')