The consultation of the relevant databases for security purposes should be conducted in a manner that ensures that only data necessary for carrying out the security checks is retrieved from those databases. With regard to persons who have made an application for international protection at a border crossing point or in transit zones, the consultation of databases for the security check as part of the screening should focus on the databases that were not consulted during the border checks at the external border, thus avoiding repeated consultations.