Cheap flights Madrid — Tehran (MAD — THR)

Good to know - Cheap tickets Madrid — Tehran

Cheapest flight found $158
Flight distance 4778 km
Round-trip from $245

Routes from nearby cities to Tehran

A flight from a neighbouring city can help you save money on plane tickets.

The most frequent flight to Tehran is from Valencia, which is the closest city to Madrid with the lowest price, from $221 per one-way.

Popular International routes from Madrid

Popular routes from Tehran

If you are going to fly from Tehran, then study the popular flights. The most popular flights from Tehran:

Popular domestic routes from Madrid

We use cookies and similar technologies for different purposes. Read the privacy policy. If you use the site you agree to them.

Request history8.3.0PHP Version296msRequest Duration4MBMemory UsageGET cheap-flights-from-{slug}Route
    • Booting (22.57ms)time
    • Application (273ms)time
    • 1 x Application (92.36%)
      273ms
      1 x Booting (7.63%)
      22.57ms
      47 templates were rendered
      • 1x views_us.routes.viewview.blade.php#?blade
      • 1x routes.viewview.blade.php#?blade
      • 1x index.section-slideshowsection-slideshow.blade.php#?blade
      • 1x components.avia-formavia-form.blade.php#?blade
      • 1x breadcrumbs::bootstrap4bootstrap4.blade.php#?blade
      • 1x routes.section-advantagessection-advantages.blade.php#?blade
      • 1x routes.AirlinesListAirlinesList.blade.php#?blade
      • 3x components.airlines-columnairlines-column.blade.php#?blade
      • 4x components.routes-listroutes-list.blade.php#?blade
      • 18x components.routeListItemrouteListItem.blade.php#?blade
      • 1x routes.description-nearbyCitiesdescription-nearbyCities.blade.php#?blade
      • 2x components.routes-columnroutes-column.blade.php#?blade
      • 1x components.related-linksrelated-links.blade.php#?blade
      • 1x layouts.mainmain.blade.php#?blade
      • 1x headerheader.blade.php#?blade
      • 2x menumenu.blade.php#?blade
      • 1x footerfooter.blade.php#?blade
      • 1x components.footer-popular-flightsfooter-popular-flights.blade.php#?blade
      • 1x footer_scriptsfooter_scripts.blade.php#?blade
      • 1x components.currencycurrency.blade.php#?blade
      • 2x components.popuppopup.blade.php#?blade
      • 1x components.languagelanguage.blade.php#?blade
      uri
      GET cheap-flights-from-{slug}
      middleware
      web
      controller
      App\Http\Controllers\RoutesController@view
      namespace
      prefix
      /
      where
      as
      route
      file
      app/Http/Controllers/RoutesController.php:96-299
      48 statements were executed (10 duplicates)Show only duplicates79.07ms
      • QueryDetector.php#25aviaticketsConnection Established
        Backtrace
        • vendor/beyondcode/laravel-query-detector/src/QueryDetector.php:25
        • vendor/beyondcode/laravel-query-detector/src/QueryDetectorMiddleware.php:30
        • vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183
        • vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183
        • app/Http/Middleware/MinifyHtml.php:21
      • SitesRelationshipsSqlRepository.php#34aviatickets3.58msselect * from `sites_relationships` where `us` = 'cheap-flights-from-madrid-to-tehran-mad-thr' limit 1
        Bindings
        • 0: cheap-flights-from-madrid-to-tehran-mad-thr
        Backtrace
        • app/Avia/Infrastructure/SitesRelationships/SitesRelationshipsSqlRepository.php:34
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/SitesRelationships/SitesRelationshipsSqlRepository.php:31
        • app/Http/Controllers/RoutesController.php:113
      • RoutesController.php#125aviatickets750μsselect * from `flights_by` where `flights_by`.`id` = '200616' and `flights_by`.`id` is not null limit 1
        Bindings
        • 0: [object Object]
        Backtrace
        • app/Http/Controllers/RoutesController.php:125
        • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • vendor/laravel/framework/src/Illuminate/Routing/Route.php:259
        • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • RoutesController.php#135aviatickets990μsselect * from `cities` where `cities`.`id` = 3787 limit 1
        Bindings
        • 0: 3787
        Backtrace
        • app/Http/Controllers/RoutesController.php:135
        • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • vendor/laravel/framework/src/Illuminate/Routing/Route.php:259
        • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • RoutesController.php#136aviatickets900μsselect * from `countries` where `countries`.`id` = 23 limit 1
        Bindings
        • 0: 23
        Backtrace
        • app/Http/Controllers/RoutesController.php:136
        • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • vendor/laravel/framework/src/Illuminate/Routing/Route.php:259
        • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • RoutesController.php#137aviatickets1.09msselect * from `cities` where `cities`.`id` = 6067 limit 1
        Bindings
        • 0: 6067
        Backtrace
        • app/Http/Controllers/RoutesController.php:137
        • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • vendor/laravel/framework/src/Illuminate/Routing/Route.php:259
        • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • RoutesController.php#138aviatickets960μsselect * from `countries` where `countries`.`id` = 103 limit 1
        Bindings
        • 0: 103
        Backtrace
        • app/Http/Controllers/RoutesController.php:138
        • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • vendor/laravel/framework/src/Illuminate/Routing/Route.php:259
        • vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • DomainRouteFactory.php#33aviatickets900μsselect * from `sites_relationships` where `sites_relationships`.`id` = 200616 and `sites_relationships`.`id` is not null limit 1
        Bindings
        • 0: 200616
        Backtrace
        • app/Avia/Infrastructure/Factory/DomainRouteFactory.php:33
        • app/Http/Controllers/RoutesController.php:143
        • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • vendor/laravel/framework/src/Illuminate/Routing/Route.php:259
      • CountriesRepository.php#31aviatickets850μsselect * from `countries` where `code` = '' limit 1
        Bindings
        • 0: 
        Backtrace
        • app/Avia/Infrastructure/Repository/CountriesRepository.php:31
        • app/Avia/Infrastructure/Provider/CurrentCurrencyProvider.php:61
        • app/Avia/Infrastructure/Provider/CurrentCurrencyProvider.php:43
        • app/Avia/Infrastructure/Provider/CurrentCurrencyProvider.php:56
        • app/Avia/Infrastructure/Model/LocalRoute.php:190
      • RouteRepository.php#42aviatickets3.29msselect `depart_date`, `return_date`, `number_of_changes`, `value` from `flights_2025` where `origin_id` = 3787 and `destination_id` = 6067 and `date_update` >= '2025-05-09 00:00:00' order by `value` asc limit 10
        Bindings
        • 0: 3787
        • 1: 6067
        • 2: 2025-05-09 00:00:00
        Backtrace
        • app/Avia/Infrastructure/Repository/RouteRepository.php:42
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/RouteRepository.php:33
        • app/Http/Controllers/RoutesController.php:150
      • MonthlyPriceStatisticSqlRepository.php#66aviatickets3.53msselect * from `monthly_price_statistics` where `origin_city_id` = 3787 and `destination_city_id` = 6067 limit 1
        Bindings
        • 0: 3787
        • 1: 6067
        Backtrace
        • app/Avia/Infrastructure/Repository/MonthlyPriceStatisticSqlRepository.php:66
        • app/Avia/Infrastructure/Repository/MonthlyPriceStatisticSqlRepository.php:50
        • app/Avia/Application/PriceHandler.php:42
        • app/Http/Controllers/RoutesController.php:156
        • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • AirlineSqlRepository.php#470aviatickets1.56msselect * from `timetables` where `origin_city_id` = 3787 and `destination_city_id` = 6067 order by `time_origin` asc limit 1000
        Bindings
        • 0: 3787
        • 1: 6067
        Backtrace
        • app/Avia/Infrastructure/Repository/AirlineSqlRepository.php:470
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/AirlineSqlRepository.php:461
        • app/Http/Controllers/RoutesController.php:162
      • AirlineSqlRepository.php#502aviatickets3.61msselect distinct `airline_id` from `timetables` where `origin_city_id` = 3787
        Bindings
        • 0: 3787
        Backtrace
        • app/Avia/Infrastructure/Repository/AirlineSqlRepository.php:502
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/AirlineSqlRepository.php:494
        • app/Avia/Infrastructure/Repository/AirlineSqlRepository.php:407
      • AirlineSqlRepository.php#502aviatickets1.97msselect distinct `airline_id` from `timetables` where `origin_city_id` = 6067
        Bindings
        • 0: 6067
        Backtrace
        • app/Avia/Infrastructure/Repository/AirlineSqlRepository.php:502
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/AirlineSqlRepository.php:494
        • app/Avia/Infrastructure/Repository/AirlineSqlRepository.php:408
      • AirlineSqlRepository.php#90aviatickets3.92msselect * from `airlines` where `id` in (327, 2179, 2987, 3314, 3915, 4078, 4929, 11847) order by `name` asc
        Bindings
        • 0: 327
        • 1: 2179
        • 2: 2987
        • 3: 3314
        • 4: 3915
        • 5: 4078
        • 6: 4929
        • 7: 11847
        Backtrace
        • app/Avia/Infrastructure/Repository/AirlineSqlRepository.php:90
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/AirlineSqlRepository.php:84
        • app/Avia/Infrastructure/Repository/AirlineSqlRepository.php:413
      • LocalRouteRepository.php#558aviatickets3.83msselect destination_city_id from `flights_by` where `origin_city_id` = 3787 and `distance` between 1 and 1000 and (`price_one_way` > 0 or `price` > 0) order by `distance` asc limit 10
        Bindings
        • 0: 3787
        • 1: 1
        • 2: 1000
        • 3: 0
        • 4: 0
        Backtrace
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:558
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:563
        • app/Avia/Infrastructure/Provider/NearbyCitiesAggregateDbProvider.php:62
      • NearbyCitiesAggregateDbProvider.php#73aviatickets1.59msselect * from `flights_by` where `origin_city_id` in (6548, 5330, 7414, 6531, 3515, 6543, 7710, 688, 5000, 595) and `destination_city_id` = 6067 and (`price_one_way` > 0 or `price` > 0) limit 10
        Bindings
        • 0: 6548
        • 1: 5330
        • 2: 7414
        • 3: 6531
        • 4: 3515
        • 5: 6543
        • 6: 7710
        • 7: 688
        • 8: 5000
        • 9: 595
        • 10: 6067
        • 11: 0
        • 12: 0
        Backtrace
        • app/Avia/Infrastructure/Provider/NearbyCitiesAggregateDbProvider.php:73
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Provider/NearbyCitiesAggregateDbProvider.php:58
        • app/Avia/Infrastructure/Provider/NearbyCitiesAggregateDbProvider.php:35
      • NearbyCitiesAggregateDbProvider.php#73aviatickets950μsselect * from `cities` where `cities`.`id` in (595, 5000, 6543)
        Backtrace
        • app/Avia/Infrastructure/Provider/NearbyCitiesAggregateDbProvider.php:73
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Provider/NearbyCitiesAggregateDbProvider.php:58
        • app/Avia/Infrastructure/Provider/NearbyCitiesAggregateDbProvider.php:35
      • NearbyCitiesAggregateDbProvider.php#73aviatickets830μsselect * from `cities` where `cities`.`id` in (6067)
        Backtrace
        • app/Avia/Infrastructure/Provider/NearbyCitiesAggregateDbProvider.php:73
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Provider/NearbyCitiesAggregateDbProvider.php:58
        • app/Avia/Infrastructure/Provider/NearbyCitiesAggregateDbProvider.php:35
      • NearbyCitiesAggregateDbProvider.php#73aviatickets750μsselect * from `sites_relationships` where `sites_relationships`.`id` in (36008, 355381, 464108)
        Backtrace
        • app/Avia/Infrastructure/Provider/NearbyCitiesAggregateDbProvider.php:73
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Provider/NearbyCitiesAggregateDbProvider.php:58
        • app/Avia/Infrastructure/Provider/NearbyCitiesAggregateDbProvider.php:35
      • CitySqlRepository.php#104aviatickets860μsselect * from `cities` where `cities`.`id` = 6543 limit 1
        Bindings
        • 0: 6543
        Backtrace
        • app/Avia/Infrastructure/City/CitySqlRepository.php:104
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/City/CitySqlRepository.php:101
        • app/Avia/Infrastructure/Provider/NearbyCitiesAggregateDbProvider.php:97
      • OfferSqlRepository.php#52aviatickets980μsselect * from `offers` where `origin_city_id` = 3787 and `destination_city_id` = 6067
        Bindings
        • 0: 3787
        • 1: 6067
        Backtrace
        • app/Avia/Infrastructure/Repository/OfferSqlRepository.php:52
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/OfferSqlRepository.php:57
        • app/Http/Controllers/RoutesController.php:205
      • LocalRouteRepository.php#447aviatickets2.43msselect * from `flights_by` where `origin_city_id` = 3787 and `id` > 200616 and `destination_country_id` <> 23 and (`price_one_way` > 0 or `price` > 0) order by `id` asc limit 3
        Bindings
        • 0: 3787
        • 1: 200616
        • 2: 23
        • 3: 0
        • 4: 0
        Backtrace
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:447
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:451
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:202
      • LocalRouteRepository.php#447aviatickets1.42msselect * from `cities` where `cities`.`id` in (3787)
        Backtrace
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:447
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:451
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:202
      • LocalRouteRepository.php#447aviatickets1.13msselect * from `cities` where `cities`.`id` in (6074, 6083, 6090)
        Backtrace
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:447
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:451
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:202
      • LocalRouteRepository.php#447aviatickets840μsselect * from `sites_relationships` where `sites_relationships`.`id` in (200617, 200618, 200619)
        Backtrace
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:447
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:451
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:202
      • LocalRoute.php#125aviatickets1.08msselect * from `countries` where `countries`.`id` = 53 limit 1
        Bindings
        • 0: 53
        Backtrace
        • app/Avia/Infrastructure/Model/LocalRoute.php:125
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Model/LocalRoute.php:122
        • app/Avia/Infrastructure/Factory/DomainRouteFactory.php:49
      • LocalRouteRepository.php#412aviatickets1.6msselect * from `flights_by` where `origin_city_id` = 3787 and `destination_country_id` <> 23 and (`price_one_way` > 0 or `price` > 0) and `id` not in (200617) order by `revenue` desc limit 2 offset 0
        Bindings
        • 0: 3787
        • 1: 23
        • 2: 0
        • 3: 0
        • 4: 200617
        Backtrace
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:412
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:417
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:209
      • LocalRouteRepository.php#412aviatickets1.92msselect * from `cities` where `cities`.`id` in (3787)
        Backtrace
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:412
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:417
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:209
      • LocalRouteRepository.php#412aviatickets1.31msselect * from `cities` where `cities`.`id` in (3505, 4081)
        Backtrace
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:412
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:417
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:209
      • LocalRouteRepository.php#412aviatickets1.46msselect * from `sites_relationships` where `sites_relationships`.`id` in (200211, 200301)
        Backtrace
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:412
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:417
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:209
      • LocalRouteRepository.php#412aviatickets1.21msselect * from `countries` where `countries`.`id` in (248)
        Backtrace
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:412
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:417
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:209
      • LocalRouteRepository.php#149aviatickets1.43msselect * from `flights_by` where `origin_city_id` = 6067 and (`price_one_way` > 0 or `price` > 0) and 1 = 1 order by `revenue` desc limit 5
        Bindings
        • 0: 6067
        • 1: 0
        • 2: 0
        Backtrace
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:149
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:153
        • app/Http/Controllers/RoutesController.php:216
      • LocalRouteRepository.php#149aviatickets970μsselect * from `cities` where `cities`.`id` in (6067)
        Backtrace
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:149
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:153
        • app/Http/Controllers/RoutesController.php:216
      • LocalRouteRepository.php#149aviatickets1.24msselect * from `cities` where `cities`.`id` in (2210, 3505, 4081, 7241, 8893)
        Backtrace
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:149
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:153
        • app/Http/Controllers/RoutesController.php:216
      • LocalRouteRepository.php#149aviatickets2.54msselect * from `countries` where `countries`.`id` in (6, 248)
        Backtrace
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:149
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:153
        • app/Http/Controllers/RoutesController.php:216
      • LocalRouteRepository.php#149aviatickets820μsselect * from `sites_relationships` where `sites_relationships`.`id` in (327937, 328019, 328068, 328260, 328265)
        Backtrace
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:149
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:153
        • app/Http/Controllers/RoutesController.php:216
      • LocalRouteRepository.php#359aviatickets1.34msselect * from `flights_by` where `origin_city_id` = 3787 and `destination_country_id` = 23 and (`price_one_way` > 0 or `price` > 0) order by `revenue` desc limit 5 offset 0
        Bindings
        • 0: 3787
        • 1: 23
        • 2: 0
        • 3: 0
        Backtrace
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:359
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:363
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:330
      • LocalRouteRepository.php#359aviatickets980μsselect * from `cities` where `cities`.`id` in (3787)
        Backtrace
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:359
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:363
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:330
      • LocalRouteRepository.php#359aviatickets1.05msselect * from `cities` where `cities`.`id` in (178, 472, 5992, 6928, 9266)
        Backtrace
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:359
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:363
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:330
      • LocalRouteRepository.php#359aviatickets1.73msselect * from `sites_relationships` where `sites_relationships`.`id` in (199759, 199800, 200233, 200426, 200610)
        Backtrace
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:359
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:363
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:330
      • LocalRouteRepository.php#359aviatickets6.16msselect * from `countries` where `countries`.`id` in (23)
        Backtrace
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:359
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:363
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:330
      • TimetableRepository.php#39aviatickets1.33msselect * from `timetables` where `origin_city_id` = 3787 and `destination_city_id` = 6067 order by `time_origin` asc limit 10
        Bindings
        • 0: 3787
        • 1: 6067
        Backtrace
        • app/Avia/Infrastructure/Repository/TimetableRepository.php:39
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/TimetableRepository.php:30
        • app/Http/Controllers/RoutesController.php:264
      • TimetableRepository.php#144aviatickets1.17msselect * from `timetables` where `origin_city_id` = 3787 and `destination_city_id` = 6067 order by `travel_time` asc limit 1
        Bindings
        • 0: 3787
        • 1: 6067
        Backtrace
        • app/Avia/Infrastructure/Repository/TimetableRepository.php:144
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/TimetableRepository.php:137
        • app/Http/Controllers/RoutesController.php:274
      • LocalRouteRepository.php#520aviatickets910μsselect * from `flights_by` where `origin_city_id` = 6067 and `destination_city_id` = 3787 limit 1
        Bindings
        • 0: 6067
        • 1: 3787
        Backtrace
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:520
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:514
        • app/Http/Controllers/RoutesController.php:530
      • LocalRouteRepository.php#520aviatickets1.84msselect * from `sites_relationships` where `sites_relationships`.`id` in (328043)
        Backtrace
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:520
        • vendor/laravel/framework/src/Illuminate/Cache/Repository.php:396
        • vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:429
        • app/Avia/Infrastructure/Repository/LocalRouteRepository.php:514
        • app/Http/Controllers/RoutesController.php:530
      • LocalRoute.php#99aviatickets1.31msselect * from `cities` where `cities`.`id` = 3787 limit 1
        Bindings
        • 0: 3787
        Backtrace
        • app/Avia/Infrastructure/Model/LocalRoute.php:99
        • app/Avia/Infrastructure/Factory/DomainRouteFactory.php:30
        • app/Http/Controllers/RoutesController.php:536
        • app/Http/Controllers/RoutesController.php:279
        • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
      • RoutesController.php#547aviatickets940μsselect * from `cities` where `cities`.`id` = 6067 limit 1
        Bindings
        • 0: 6067
        Backtrace
        • app/Http/Controllers/RoutesController.php:547
        • app/Http/Controllers/RoutesController.php:279
        • vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • vendor/laravel/framework/src/Illuminate/Routing/Route.php:259
      • description-nearbyCities.blade.php#12aviatickets1.22msselect * from `cities` where `cities`.`id` = 3787 limit 1
        Bindings
        • 0: 3787
        Backtrace
        • view::routes.description-nearbyCities:12
        • vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124
        • vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
        • vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:72
        • vendor/laravel/framework/src/Illuminate/View/View.php:207
      App\Avia\Infrastructure\Model\Timetable
      212Timetable.php#?
      App\Avia\Infrastructure\Model\LocalRoute
      30LocalRoute.php#?
      App\Avia\Infrastructure\Model\City
      29City.php#?
      App\Avia\Infrastructure\Model\SitesRelationship
      21SitesRelationship.php#?
      App\Avia\Infrastructure\Model\Airline
      8Airline.php#?
      App\Avia\Infrastructure\Model\Country
      7Country.php#?
      App\Avia\Infrastructure\Model\MonthlyPriceStatistic
      1MonthlyPriceStatistic.php#?
            _token
            3pQekNpUnAhsLJI8TONayjFuX81Nv5odlFDIL2bk
            _previous
            array:1 [ "url" => "https://d.lowcost.club/cheap-flights-from-madrid-to-tehran-mad-thr?_url=%2Fche...
            _flash
            array:2 [ "old" => [] "new" => [] ]
            path_info
            /cheap-flights-from-madrid-to-tehran-mad-thr
            status_code
            200
            
            status_text
            OK
            format
            html
            content_type
            text/html; charset=UTF-8
            request_query
            0 of 0
            array:1 [ "_url" => "/cheap-flights-from-madrid-to-tehran-mad-thr" ]
            request_request
            []
            
            request_headers
            0 of 0
            array:16 [ "cookie" => array:1 [ 0 => "XSRF-TOKEN=eyJpdiI6Ii9Rd1cxL0czbklxV2NMK3hleVh4L3c9PSIsInZhbHVlIjoiK0UzN0VNeEVZeHlXVWZ3eE5ZeFNxYUdwT2YvZDBxZjlMdFlYVWtFN2FGa2oxckVNZVhQRWkrWW9pTkF5TnF3QU5rVkN2T2o3RWJtaXB5MWhMM3pzc1ZHUm1pdlZTc2RvL2tHdzhGckZnZ0hNTzJCdEVNTVphNExwS1B0YXFwWEsiLCJtYWMiOiI1OTViZDBiODk3ZTE4OGYyNjQ4ZmM2MzMyZjUxMmNhNzgxNjgyZGMwYTVlODZmYTRmMmQzYmRjY2ZmNjcwZDVmIiwidGFnIjoiIn0%3D; lowcostclub_session=eyJpdiI6IjhPY2Z6MjAxL1o5eThQVUZzdzFVSGc9PSIsInZhbHVlIjoiMjU4dEtRMnBvOVhDV0ZiTi9IZUxKUndMaHpoVlJVYjhQbFFONFBJUHpiWUlqSTJMVVQwWkFyanB5VGVQVFBsalY5cXRMTHN1S1VqSXEzanRkTTFrZDZ3Q3ZvUlVDRitVdk1tQmNYeDNoMTV3RFB6d0xHYy9XN0phRG5QNUhoTDgiLCJtYWMiOiIzZjQwNWVjMzZjMzc5YzQ5NjA5YTY0NmRiN2Y3ZjRjY2M5NGVlM2Y0MTkwNTQwM2RhOTAyOWE3YTcyZmNjM2U5IiwidGFnIjoiIn0%3DXSRF-TOKEN=eyJpdiI6Ii9Rd1cxL0czbklxV2NMK3hleVh4L3c9PSIsInZhbHVlIjoiK0UzN0VNeEVZeHlXVWZ3eE5ZeFNxYUdwT2YvZDBxZjlMdFlYVWtFN2FGa2oxckVNZVhQRWkrWW9pTkF5TnF3QU5rVkN2T" ] "priority" => array:1 [ 0 => "u=0, i" ] "accept-encoding" => array:1 [ 0 => "gzip, deflate, br, zstd" ] "sec-fetch-dest" => array:1 [ 0 => "document" ] "sec-fetch-user" => array:1 [ 0 => "?1" ] "sec-fetch-mode" => array:1 [ 0 => "navigate" ] "sec-fetch-site" => array:1 [ 0 => "none" ] "accept" => array:1 [ 0 => "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" ] "user-agent" => array:1 [ 0 => "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" ] "upgrade-insecure-requests" => array:1 [ 0 => "1" ] "sec-ch-ua-platform" => array:1 [ 0 => ""Windows"" ] "sec-ch-ua-mobile" => array:1 [ 0 => "?0" ] "sec-ch-ua" => array:1 [ 0 => ""Chromium";v="130", "HeadlessChrome";v="130", "Not?A_Brand";v="99"" ] "cache-control" => array:1 [ 0 => "no-cache" ] "pragma" => array:1 [ 0 => "no-cache" ] "host" => array:1 [ 0 => "d.lowcost.club" ] ]
            request_cookies
            0 of 0
            array:2 [ "XSRF-TOKEN" => "3pQekNpUnAhsLJI8TONayjFuX81Nv5odlFDIL2bk" "lowcostclub_session" => "tzy4Et06WXRmvMtovMAVyeXkRVRT83pM3BKvFMjP" ]
            response_headers
            0 of 0
            array:6 [ "cache-control" => array:1 [ 0 => "max-age=604800, public" ] "date" => array:1 [ 0 => "Sun, 11 May 2025 18:21:43 GMT" ] "etag" => array:1 [ 0 => ""0f6757b48048a32702f6310152be837e"" ] "content-type" => array:1 [ 0 => "text/html; charset=UTF-8" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IlZSeHp6UEFaalovbjRkYktsVW5TbVE9PSIsInZhbHVlIjoidmdRY2MveHVLMXZsTDhxS2pPUmVQNUN3QnNuSVR1VCtpcFAvUXN6REw3QWpaWElRSFhZNEZNaTlwQmlGNWtiSnlSWVJNS0pwR0YvWHFadjhReVdLZzRUVFpTTGFzQzliSXlLMjFETG1VTmRiTit6VUN3S1JIdmR4eC8vdE9pQXEiLCJtYWMiOiIwNDZlOTk5NmY1ZTIyZjNlZjUwMTgyOTYwZGM3YjRjMGJiYjg2ZmU0N2E5OTkxNmI5MDdmOTQ3ODk4NTY3YTUyIiwidGFnIjoiIn0%3D; expires=Sun, 11 May 2025 20:21:43 GMT; Max-Age=7200; path=/; samesite=laxXSRF-TOKEN=eyJpdiI6IlZSeHp6UEFaalovbjRkYktsVW5TbVE9PSIsInZhbHVlIjoidmdRY2MveHVLMXZsTDhxS2pPUmVQNUN3QnNuSVR1VCtpcFAvUXN6REw3QWpaWElRSFhZNEZNaTlwQmlGNWtiSnlSWVJNS" 1 => "lowcostclub_session=eyJpdiI6IjNySjB6RW12S3ZqOGNkN2ZKUkFJYUE9PSIsInZhbHVlIjoiN0p1YUdDMnZFTjUvTkNJR25TakFwWHY1WG0zVnVIYUxmWUVlRUVjMStVOGdtRXh5a0diRmJML0VqTlgyeTVqWGF0Z3B6Y3hqVlJJUTdWcnkwN01NWVl5NHBGNzREVm96Q0VlZ1VoQWxESEtUSjdXRXo4dm5FYVdKcjBuQmNtWVgiLCJtYWMiOiI3ZjUwNzlmM2M2OWNiOWNiMTYwZGQxNzU4ZjJjMDY0MmFiYmZhYTNmMzhmOGUwYmVjZjFmMTU1YjQ1MDU2MTU5IiwidGFnIjoiIn0%3D; expires=Sun, 11 May 2025 20:21:43 GMT; Max-Age=7200; path=/; httponly; samesite=laxlowcostclub_session=eyJpdiI6IjNySjB6RW12S3ZqOGNkN2ZKUkFJYUE9PSIsInZhbHVlIjoiN0p1YUdDMnZFTjUvTkNJR25TakFwWHY1WG0zVnVIYUxmWUVlRUVjMStVOGdtRXh5a0diRmJML0VqTlgyeTVq" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IlZSeHp6UEFaalovbjRkYktsVW5TbVE9PSIsInZhbHVlIjoidmdRY2MveHVLMXZsTDhxS2pPUmVQNUN3QnNuSVR1VCtpcFAvUXN6REw3QWpaWElRSFhZNEZNaTlwQmlGNWtiSnlSWVJNS0pwR0YvWHFadjhReVdLZzRUVFpTTGFzQzliSXlLMjFETG1VTmRiTit6VUN3S1JIdmR4eC8vdE9pQXEiLCJtYWMiOiIwNDZlOTk5NmY1ZTIyZjNlZjUwMTgyOTYwZGM3YjRjMGJiYjg2ZmU0N2E5OTkxNmI5MDdmOTQ3ODk4NTY3YTUyIiwidGFnIjoiIn0%3D; expires=Sun, 11-May-2025 20:21:43 GMT; path=/XSRF-TOKEN=eyJpdiI6IlZSeHp6UEFaalovbjRkYktsVW5TbVE9PSIsInZhbHVlIjoidmdRY2MveHVLMXZsTDhxS2pPUmVQNUN3QnNuSVR1VCtpcFAvUXN6REw3QWpaWElRSFhZNEZNaTlwQmlGNWtiSnlSWVJNS" 1 => "lowcostclub_session=eyJpdiI6IjNySjB6RW12S3ZqOGNkN2ZKUkFJYUE9PSIsInZhbHVlIjoiN0p1YUdDMnZFTjUvTkNJR25TakFwWHY1WG0zVnVIYUxmWUVlRUVjMStVOGdtRXh5a0diRmJML0VqTlgyeTVqWGF0Z3B6Y3hqVlJJUTdWcnkwN01NWVl5NHBGNzREVm96Q0VlZ1VoQWxESEtUSjdXRXo4dm5FYVdKcjBuQmNtWVgiLCJtYWMiOiI3ZjUwNzlmM2M2OWNiOWNiMTYwZGQxNzU4ZjJjMDY0MmFiYmZhYTNmMzhmOGUwYmVjZjFmMTU1YjQ1MDU2MTU5IiwidGFnIjoiIn0%3D; expires=Sun, 11-May-2025 20:21:43 GMT; path=/; httponlylowcostclub_session=eyJpdiI6IjNySjB6RW12S3ZqOGNkN2ZKUkFJYUE9PSIsInZhbHVlIjoiN0p1YUdDMnZFTjUvTkNJR25TakFwWHY1WG0zVnVIYUxmWUVlRUVjMStVOGdtRXh5a0diRmJML0VqTlgyeTVq" ] ]
            session_attributes
            0 of 0
            array:3 [ "_token" => "3pQekNpUnAhsLJI8TONayjFuX81Nv5odlFDIL2bk" "_previous" => array:1 [ "url" => "https://d.lowcost.club/cheap-flights-from-madrid-to-tehran-mad-thr?_url=%2Fcheap-flights-from-madrid-to-tehran-mad-thr" ] "_flash" => array:2 [ "old" => [] "new" => [] ] ]
            ClearShow all
            Date ↕MethodURLData
            #12025-05-11 18:21:43GET/cheap-flights-from-madrid-to-tehran-mad-thr4748308