In general, some airports will allow you to go through the security check-in much earlier while others may require you to arrive no earlier than 2-5 hours before the departing time. This is sometimes because the checked baggage counters and/or check-in gates are not open yet.