SELECT 1 FROM cscart_lock_keys WHERE key_id = '03114f5f795eaf46c4ca9f93415bb6567efc0ecefea37f3773c21e39c57956c8' AND token = 'HaNiEvGh8CUdO14pqXuUdrOpJhRim3QQ3H4OfOGYYNk=' AND expiry_at > UNIX_TIMESTAMP(NOW())

Query is invalid

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}