SELECT 1 FROM cscart_lock_keys WHERE key_id = '58cda393549017cb7f83353f1407e6199eca6316c04d6354f06b97ea1a85caae' AND token = 'NFjDO9W8B3i7dRop87UFV3189eEFZhFbY6dihtzacKE=' AND expiry_at > UNIX_TIMESTAMP(NOW())

Query is invalid

JSON explain

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