I have a 'customer' table and I am trying to get a record using Laravel Eloquent using the customer's id:

```
Customer::where('customer_id', '=', $customer_id)->get();

```

However, when this gets executed I check the MySQL logs and I get:

```
Prepare select `kanji_name` from `customer` where `customer_id` = ?
Close stmt
Quit

```

As you can see, there is no 'Execute ...' log which should be present of the query was executed after preparing it.

I also tried:

```
Customer::find($customer_id);

```

with the same result.

Does anyone know the reason why?