SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1e682fd6ea45d840988425cae8c2b216f7e5ccc0e747c559360e032d65c56e98' 
  AND token = 'lUAL9e+OobP1tPeJ7GGgRVSt6tOiVb7qqcovUPxA9ok=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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